:root {
  --ink: #1c2430;
  --muted: #667085;
  --line: #e6e9ef;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --accent: #c8452d;
  --accent-dark: #9e3320;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}

.brand-text { font-weight: 700; letter-spacing: 0.08em; font-size: 16px; }
.brand-text small { display: block; font-weight: 400; font-size: 10px; color: var(--muted); letter-spacing: 0.2em; }

.header-right { display: flex; align-items: center; gap: 28px; }

.nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--accent); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
  background: var(--soft);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn:hover { color: var(--accent); }
.lang-btn.active { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.nav-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

.hero { padding: 72px 0 84px; background: var(--soft); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 14px;
}

.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.18; margin: 0 0 20px; letter-spacing: -0.02em; }
.hero-desc { color: var(--muted); font-size: 16px; max-width: 500px; margin: 0 0 28px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 22px; }
.hero-stats span { font-size: 12px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 20px; background: #fff; }

.hero-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.section { padding: 80px 0; }
.section-alt { background: var(--soft); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-size: 30px; margin: 0; }
.section-note { color: var(--muted); font-size: 14px; max-width: 380px; text-align: right; margin: 0; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover { transform: translateY(-4px); border-color: #d3d8e2; }

.product-img { aspect-ratio: 4 / 3; background: #fafbfc; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }

.placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #98a2b3;
  border: 1px dashed #cfd6e0;
  margin: 12px;
  border-radius: 10px;
  aspect-ratio: auto;
  height: calc(100% - 24px);
  min-height: 160px;
}

.placeholder svg { width: 72px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.placeholder span { font-size: 12px; }

.product-body { padding: 18px; }
.tag { display: inline-block; font-size: 11px; color: var(--accent); background: #fbeeea; padding: 3px 9px; border-radius: 20px; }
.product-body h3 { font-size: 17px; margin: 10px 0 6px; }
.product-body p { color: var(--muted); font-size: 13px; margin: 0 0 16px; }

.product-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.product-foot .price { font-weight: 700; }
.product-foot a { color: var(--accent); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature-icon { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.feature h3 { font-size: 18px; margin: 12px 0 8px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.about-grid h2 { font-size: 30px; margin: 0 0 18px; }
.about-grid p { color: var(--muted); }

.spec-card { background: var(--soft); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.spec-card h3 { margin: 0 0 16px; font-size: 18px; }
.spec-card dl { margin: 0; }
.spec-card dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-card dl div:last-child { border-bottom: 0; }
.spec-card dt { font-size: 12px; color: var(--muted); }
.spec-card dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-grid h2 { font-size: 30px; margin: 0 0 18px; }
.contact-grid > div > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; font-size: 14px; }
.contact-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.contact-list a { color: var(--accent); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid #f0c8bd; border-color: var(--accent); }
.contact-form .btn { width: 100%; }
.form-hint { color: var(--muted); font-size: 12px; margin: 12px 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .header-right { gap: 12px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; }
  .lang-btn { padding: 6px 8px; }
  .nav-toggle { display: block; }
  .product-grid, .feature-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .section-note { text-align: left; }
  .hero-stats { gap: 20px; }
}
