:root {
  --red: #d72323;
  --red-dark: #b31b1b;
  --ink: #1a1a1a;
  --ink-soft: #444;
  --muted: #777;
  --line: #e8e8e8;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Top bar ---- */
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); }
.brand .logo { color: var(--red); font-size: 26px; letter-spacing: -0.5px; }
.brand .cn { font-size: 13px; color: var(--muted); font-weight: 400; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--red); }
.lang { display: flex; align-items: center; gap: 8px; border-left: 1px solid var(--line); padding-left: 20px; margin-left: 4px; }
.lang a { font-size: 13px; color: var(--muted); }
.lang a.active { color: var(--red); font-weight: 600; }

/* ---- Hero ---- */
.hero { background: linear-gradient(135deg, #141414 0%, #2a2a2a 60%, #3a1212 100%); color: #fff; }
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.2; margin: 0 0 16px; font-weight: 700; }
.hero h1 .accent { color: #ff4b4b; }
.hero .sub { font-size: 18px; color: #cfcfcf; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual .ph {
  width: 100%; aspect-ratio: 4/3; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5);
  font-size: 15px; text-align: center; padding: 20px;
}
.stats { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.stat .num { font-size: 30px; font-weight: 700; color: #ff4b4b; }
.stat .lab { font-size: 13px; color: #bdbdbd; }

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: 32px; margin: 0 0 10px; }
.sec-head p { color: var(--muted); font-size: 16px; margin: 0; }
.sec-head .bar { width: 48px; height: 3px; background: var(--red); margin: 16px auto 0; }

/* ---- Feature grid ---- */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .icon { font-size: 28px; color: var(--red); margin-bottom: 12px; }

/* ---- Product cards (SATO-style flat catalog) ---- */
.product-card {
  display: block; text-decoration: none; color: var(--ink);
  margin-bottom: 40px;
}
.product-card .img_out {
  border-bottom: 2px solid #ccc; background: #fff;
  transition: border-color .3s;
}
.product-card .img_out img {
  width: 100%; display: block;
  transition: transform .3s;
}
.product-card:hover .img_out img { transform: translateY(-12px); }
.product-card:hover .img_out { border-color: var(--red); }
.product-card .model { font-size: 13px; color: var(--red); font-weight: 600; letter-spacing: .5px; margin: 14px 0 2px; }
.product-card h3 { margin: 0 0 6px; font-size: 22px; color: var(--ink); }
.product-card:hover h3 { color: var(--red); }
.product-card p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.product-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card .tag { font-size: 12px; color: var(--muted); border: 1px solid #ddd; border-radius: 3px; padding: 2px 8px; }

/* ---- Spec table ---- */
table.spec { width: 100%; border-collapse: collapse; }
table.spec th, table.spec td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
table.spec th { width: 180px; color: var(--muted); font-weight: 500; background: var(--bg-soft); }
table.spec td { color: var(--ink); }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-item { border: 1px solid var(--line); border-radius: 10px; padding: 26px; text-align: center; }
.contact-item .icon { font-size: 26px; color: var(--red); margin-bottom: 10px; }
.contact-item h4 { margin: 0 0 6px; font-size: 16px; }
.contact-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---- Footer ---- */
.footer { background: #141414; color: #aaa; padding: 56px 0 32px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer p, .footer li { font-size: 13px; color: #8a8a8a; margin: 0 0 8px; }
.footer ul { list-style: none; padding: 0; }
.footer a { color: #8a8a8a; }
.footer a:hover { color: #fff; }
.footer .bottom { border-top: 1px solid #2a2a2a; padding-top: 20px; font-size: 12px; color: #666; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---- Product images ---- */
.hero-visual img { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 12px; background: #fff; }

/* ---- Utility ---- */
.ph { background: var(--bg-soft); border: 1px dashed #ccc; border-radius: 8px; color: var(--muted); }
.center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .about-grid, .footer .cols { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}
