:root {
  --bg: #f3f1ec;
  --paper: #fffefa;
  --line: #e2ddd2;
  --line-soft: #ece7df;
  --text: #181816;
  --muted: #6f716b;
  --green: #58c49a;
  --blue: #72bdf0;
  --shadow: 0 24px 70px rgba(37, 33, 27, 0.10);
  --font: "PingFang SC", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 6%, rgba(114, 189, 240, 0.14), transparent 26%),
    radial-gradient(circle at 88% 4%, rgba(88, 196, 154, 0.12), transparent 28%),
    var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

/* ---------- 顶部导航 ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(8px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 560;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.topnav nav { display: flex; gap: 22px; }
.topnav nav a { color: var(--muted); font-size: 15px; transition: color 0.15s; }
.topnav nav a:hover { color: var(--text); }

main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 64px; }
.eyebrow {
  color: #4f8b55;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 26px;
}
.lede {
  max-width: 560px;
  font-size: 18px;
  color: #45463f;
  margin-bottom: 34px;
}
.lede strong { font-weight: 600; color: var(--text); }
.cta {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 14px;
  background: var(--text);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(17,17,17,0.18); }

/* ---------- 关于 ---------- */
.about {
  margin: 24px 0;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.about h2 { font-size: 20px; font-weight: 560; margin-bottom: 14px; }
.about p { max-width: 720px; color: #45463f; }

/* ---------- 产品 ---------- */
.products { padding: 56px 0 24px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
}
.section-head h2 { font-size: 28px; font-weight: 600; }
.muted { color: var(--muted); font-size: 14px; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(37, 33, 27, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product:hover {
  transform: translateY(-3px);
  border-color: #cdc6b6;
  box-shadow: 0 22px 50px rgba(37, 33, 27, 0.11);
}
.logo {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--line-soft);
}
.logo.placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
}
.p-body { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.p-title { display: flex; align-items: center; gap: 10px; }
.p-title h3 { font-size: 18px; font-weight: 560; }
.badge {
  font-size: 11px;
  font-weight: 500;
  color: #8a6d1f;
  background: #fbf1d6;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.p-desc { color: #54564e; font-size: 14.5px; line-height: 1.55; }
.plat {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12px;
  color: var(--muted);
  background: #efece5;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- 联系 ---------- */
.contact {
  margin: 56px 0 24px;
  padding: 52px 40px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.contact h2 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.contact p { color: var(--muted); margin-bottom: 22px; }
.email {
  display: inline-block;
  font-size: 18px;
  font-weight: 540;
  padding: 12px 26px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.15s, transform 0.15s;
}
.email:hover { background: #ece7dd; transform: translateY(-2px); }

/* ---------- 页脚 ---------- */
.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 24px 50px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .hero { padding: 56px 0 44px; }
  .grid { grid-template-columns: 1fr; }
  .about, .contact { padding: 30px 22px; }
  .product { padding: 18px; gap: 14px; }
  .logo { width: 54px; height: 54px; }
}
