:root {
  --navy: #14304d;
  --blue: #0f4c81;
  --accent: #f5b301;
  --ink: #22303e;
  --muted: #5b6b7a;
  --line: #e4e9ee;
  --bg-soft: #f6f8fa;
  --bg-warm: #fff8e3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.75;
  background: #ffffff;
}

.container { max-width: 1020px; margin: 0 auto; padding: 0 24px; }

/* ---------- language toggle ---------- */
body.en .lang-zh { display: none !important; }
body:not(.en) .lang-en { display: none !important; }
.lang-btn {
  margin-left: 24px;
  padding: 5px 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue);
  font-size: 14px;
  cursor: pointer;
}
.lang-btn:hover { background: var(--blue); color: #ffffff; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #ffffff; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--navy);
  text-decoration: none;
}
.logo span { color: var(--accent); }
nav { display: flex; align-items: center; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 26px;
}
nav a:hover { color: var(--blue); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg-warm) 0%, #ffffff 100%);
  padding: 70px 24px 64px;
}
.hero-grid {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 420px; }
.hero-text .kicker {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--blue);
  font-weight: 600;
}
.hero-text h1 {
  font-size: 54px;
  color: var(--navy);
  letter-spacing: 1px;
  margin: 8px 0 16px;
}
.hero-text .tagline { font-size: 19px; color: var(--muted); max-width: 520px; }
.hero-img { flex: 1 1 320px; text-align: center; }
.hero-img img { max-width: 100%; width: 430px; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--bg-soft); }

.section-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 8px;
}
h2 { font-size: 30px; color: var(--navy); margin-bottom: 22px; }
p.lead { font-size: 17px; color: var(--ink); max-width: 760px; }

.banner-img {
  width: 100%;
  max-width: 860px;
  display: block;
  border-radius: 12px;
  margin: 26px 0 10px;
}

/* ---------- product ---------- */
.product-grid {
  display: flex;
  gap: 44px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.product-text { flex: 1 1 440px; }
.product-img { flex: 1 1 320px; text-align: center; }
.product-img img { max-width: 100%; width: 400px; border-radius: 12px; }

/* ---------- cards ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.card {
  flex: 1 1 220px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px;
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- contact ---------- */
.contact-list { list-style: none; margin-top: 6px; }
.contact-list li { font-size: 16px; padding: 6px 0; color: var(--ink); }
.contact-list .label { color: var(--muted); margin-right: 12px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer a { color: var(--muted); }

/* ---------- privacy doc ---------- */
.doc { max-width: 760px; }
.doc h2 { font-size: 26px; margin-top: 40px; }
.doc h2:first-of-type { margin-top: 12px; }
.doc p, .doc li { font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.doc ul { padding-left: 22px; }
.effective { color: var(--muted); font-size: 14px; }

@media (max-width: 640px) {
  .hero-text h1 { font-size: 38px; }
  h2 { font-size: 24px; }
  nav a { margin-left: 14px; font-size: 14px; }
  .lang-btn { margin-left: 12px; }
}
