:root {
  --ink: #14121f;
  --ink-2: #1e1b2e;
  --gold: #d4af37;
  --red: #c0392b;
  --red-soft: #e15b4c;
  --text: #ece8f5;
  --muted: #a79fc4;
  --line: rgba(212, 175, 55, 0.22);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  scroll-behavior: smooth;
}

/* 导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(20, 18, 31, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--red-soft));
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
}
.brand__name { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.brand__name small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 2px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--text); text-decoration: none; font-size: 15px; opacity: .85; transition: .2s; }
.nav__links a:hover { color: var(--gold); opacity: 1; }
.nav__toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* 首屏 */
.hero { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 70% 20%, rgba(192,57,43,.30), transparent 60%),
    radial-gradient(700px 500px at 20% 80%, rgba(212,175,55,.18), transparent 60%),
    linear-gradient(160deg, #14121f, #211b33 60%, #14121f);
}
.hero__content { position: relative; text-align: center; padding: 0 22px; max-width: 760px; }
.hero__eyebrow { color: var(--gold); letter-spacing: 4px; font-size: 13px; margin-bottom: 18px; }
.hero__title { font-size: clamp(40px, 7vw, 76px); line-height: 1.1; font-weight: 800; letter-spacing: 2px;
  background: linear-gradient(120deg, #fff 10%, var(--gold) 55%, var(--red-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 22px 0 32px; color: var(--muted); font-size: 18px; }
.hero__sub b { color: var(--gold); }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: .2s;
}
.btn--primary { background: linear-gradient(135deg, var(--red), var(--red-soft)); color: #fff; box-shadow: 0 10px 26px rgba(192,57,43,.4); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* 通用区块 */
.section { max-width: 1100px; margin: 0 auto; padding: 92px 22px; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(33,27,51,.5), transparent); }
.section__head { text-align: center; margin-bottom: 46px; }
.section__tag { color: var(--gold); letter-spacing: 3px; font-size: 13px; }
.section__head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 10px; }

.about p { max-width: 760px; margin: 0 auto; text-align: center; color: var(--text); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.stat { text-align: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.stat b { display: block; font-size: 30px; color: var(--gold); }
.stat span { color: var(--muted); font-size: 14px; }

/* 卡片 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,.03); transition: .25s; }
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.card__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; font-weight: 800; color: var(--ink); background: linear-gradient(135deg, var(--gold), var(--red-soft)); margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; font-size: 19px; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card pre { background: #0e0c17; border: 1px solid var(--line); border-radius: 12px; padding: 14px; overflow: auto; font-size: 12.5px; color: #c9c2e6; }

/* 服务 */
.services { max-width: 760px; margin: 0 auto; list-style: none; display: grid; gap: 14px; }
.services li { padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.services b { color: var(--gold); margin-right: 8px; }

/* 表单 */
.form { max-width: 620px; margin: 0 auto; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form input, .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line); background: #0e0c17; color: var(--text); font-size: 15px;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form__hint { min-height: 20px; color: var(--gold); font-size: 14px; }

/* 页脚 */
.footer { border-top: 1px solid var(--line); padding: 28px 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; max-width: 1100px; margin: 0 auto; }

/* 响应式 */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open { display: flex; position: absolute; top: 68px; right: 16px; flex-direction: column; background: var(--ink-2); padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
  .form__row { grid-template-columns: 1fr; }
}
