:root {
  --bg: #0e0f13;
  --panel: #16181f;
  --text: #f2f3f5;
  --muted: #a0a4ad;
  --accent: #4f8cff;
  --accent-hover: #6ba0ff;
  --border: #2a2d36;
  --error: #ff6b6b;
  --success: #51cf66;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(14, 15, 19, 0.55);
  backdrop-filter: saturate(160%) blur(10px);
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 1px; }
.brand-logo { height: 32px; width: auto; display: block; }
.site-header nav a {
  color: var(--muted);
  font-size: 14px;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  transition: color .2s, border-color .2s;
}
.site-header nav a:hover { color: var(--text); border-color: var(--accent); }

/* ---------- 横屏视频 Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ---------- Inquiry 表单 ---------- */
.inquiry {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.inquiry-inner { width: 100%; }
.inquiry h2 {
  margin: 0 0 8px;
  font-size: 28px;
}
.inquiry-sub {
  margin: 0 0 28px;
  color: var(--muted);
}
.field { margin-bottom: 16px; }
#inquiry-form input,
#inquiry-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
#inquiry-form input:focus,
#inquiry-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, .18);
}
#inquiry-form textarea { resize: vertical; }
.hidden { display: none !important; }

#inquiry-form button {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, transform .05s;
}
#inquiry-form button:hover { background: var(--accent-hover); }
#inquiry-form button:active { transform: translateY(1px); }

.form-status {
  margin: 14px 0 0;
  font-size: 14px;
  min-height: 20px;
}
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 移动端 ---------- */
@media (max-width: 640px) {
  .hero { aspect-ratio: 4 / 3; }
  /* 手机端用竖屏视频时，切换为竖版画幅，避免被裁切 */
  .hero.hero--portrait { aspect-ratio: 3 / 4; }
  .inquiry { padding: 48px 18px 64px; }
}
