:root {
  --red: #e60012;
  --ink: #1a1a1a;
  --muted: #666;
  --line: #e8e8e8;
  --nav-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: "SF Pro Text", "PingFang SC", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf7 0%, #f9fbfe 100%);
}
button { font: inherit; }
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; height: 100%; padding: 0 24px;
  display: flex; align-items: center; gap: 18px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { display: block; height: 28px; width: auto; }
.menu { display: flex; gap: 4px; flex: 0 0 auto; }
.menu-item, .ghost, .tab, .linkish {
  border: 0; background: transparent; color: #333; cursor: pointer; padding: 8px 10px; border-radius: 8px;
}
.menu-item:hover, .ghost:hover, .tab:hover, .linkish:hover { background: rgba(0,0,0,.04); }
.tabs { display: flex; gap: 8px; margin-left: 12px; }
.tab { font-weight: 600; position: relative; }
.tab.on { color: var(--ink); }
.tab.on::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
  background: var(--red); border-radius: 2px;
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.lang-pick button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 3px 9px; font-size: 12px; cursor: pointer; color: var(--muted);
}
.lang-pick button.on { background: #111; color: #fff; border-color: #111; }

.hero {
  max-width: 1120px; margin: 0 auto; padding: 48px 24px 24px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-mark { height: 28px; width: auto; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 28px; line-height: 1.15;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.btn-primary, .btn-secondary {
  min-width: 148px; height: 48px; border-radius: 10px; cursor: pointer; font-size: 16px; font-weight: 600;
}
.btn-primary { background: var(--red); color: #fff; border: 0; }
.btn-primary:hover { filter: brightness(0.96); }
.btn-secondary { background: #fff; color: #222; border: 1px solid #d8d8d8; }
.btn-secondary:hover { border-color: #bbb; }
.sub-row { display: flex; gap: 22px; justify-content: center; color: #555; font-size: 14px; }
.linkish { color: #555; }
.hero-visual { width: min(1120px, 100%); margin-top: 28px; }
.hero-visual img { width: 100%; height: auto; display: block; }

.wa-modal {
  position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.wa-modal[hidden] { display: none !important; }
.wa-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.wa-modal-panel {
  position: relative; z-index: 1; width: min(420px, 100%); background: #fff;
  border-radius: 16px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.24);
}
.wa-modal-panel button[data-wa-close] {
  position: absolute; top: 10px; right: 10px; z-index: 2; border: 0; background: #fff;
  border-radius: 999px; width: 32px; height: 32px; font-size: 20px; cursor: pointer;
}
#wa-frame { display: block; width: 100%; height: 560px; max-height: calc(100vh - 48px); border: 0; background: #fff; }
.wa-frame-loading {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
  background: #fff; color: #1c2430; font-size: 15px; font-weight: 600; pointer-events: none;
}
.wa-frame-loading[hidden] { display: none !important; }

@media (max-width: 960px) {
  .menu, .tabs { display: none; }
  .hero { padding-top: 36px; }
}
