/*
Theme Name: 163552 Bilingual Launch
Theme URI: https://163552.com/
Author: Codex
Description: A clean bilingual launch theme for 163552.com.
Version: 1.0.0
Text Domain: launch-163552
*/
:root {
  --ink: #172033;
  --muted: #5f6b7a;
  --line: #dde5ef;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-2: #2f5bea;
  --warm: #f59e0b;
  --dark: #111827;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.lang-en { display: none; }
body.is-en .lang-zh { display: none; }
body.is-en .lang-en { display: inline; }
body.is-en .block.lang-en, body.is-en section.lang-en { display: block; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(221, 229, 239, .86);
  background: rgba(246, 248, 251, .92);
  backdrop-filter: blur(16px);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
}
.nav-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--ink); }
.lang-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}
body.is-zh .lang-switch [data-lang="zh"], body.is-en .lang-switch [data-lang="en"] { background: var(--ink); color: #fff; }
.hero { padding: 72px 0 54px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); gap: 46px; align-items: center; }
.kicker { margin: 0 0 16px; color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 0; max-width: 780px; font-size: clamp(38px, 7vw, 72px); line-height: 1.04; letter-spacing: 0; }
.hero-copy { margin: 22px 0 0; max-width: 650px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid var(--ink);
}
.button.primary { color: #fff; background: var(--ink); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 32px;
  max-width: 690px;
}
.status-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.status-item b { display: block; font-size: 15px; }
.status-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.hero-media {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px rgba(20, 33, 61, .14);
  background: #101827;
}
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.section { padding: 62px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: 0; }
.section-lead { margin: 0; max-width: 560px; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px; min-height: 190px; }
.card-icon { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; background: var(--accent-2); font-weight: 900; }
.card:nth-child(2) .card-icon { background: var(--accent); }
.card:nth-child(3) .card-icon { background: var(--warm); }
.card:nth-child(4) .card-icon { background: #7c3aed; }
.card h3 { margin: 0 0 9px; font-size: 19px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.step { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.step:before { counter-increment: step; content: counter(step, decimal-leading-zero); color: var(--accent); font-weight: 900; }
.step h3 { margin: 12px 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.contact-band { background: var(--dark); color: #fff; border-radius: 8px; padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.contact-band p { color: #cbd5e1; margin: 10px 0 0; max-width: 700px; }
.contact-list { display: grid; gap: 8px; color: #e5e7eb; }
.site-footer { padding: 30px 0 42px; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero-grid, .contact-band { grid-template-columns: 1fr; }
  .hero { padding-top: 46px; }
  .card-grid, .steps, .status-strip { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.keep) { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .nav { height: 64px; }
  .brand { font-size: 18px; }
  .hero-copy { font-size: 16px; }
  .card-grid, .steps, .status-strip { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .contact-band { padding: 24px; }
}
