/* ==========================================================================
   玄机电脑算命 · 加盟站 前台样式
   ========================================================================== */

:root {
  --ink-950: #08090d;
  --ink-900: #0b0d12;
  --ink-850: #0e1017;
  --ink-800: #12151d;
  --ink-700: #181c26;
  --ink-600: #222836;
  --line: rgba(217, 180, 91, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --gold: #d9b45b;
  --gold-light: #f2d9a0;
  --gold-deep: #a17c35;
  --text: #ece7dc;
  --muted: #98a0ae;
  --muted-2: #737b89;
  --red: #c0503f;
  --green: #4f9d7a;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.02em; margin: 0; }
p { margin: 0; }

.shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 26px;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(217, 180, 91, 0.12), transparent 62%),
    radial-gradient(700px 420px at 8% 12%, rgba(120, 90, 40, 0.10), transparent 65%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 68% 12%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1.4px 1.4px at 84% 46%, rgba(217, 180, 91, 0.5), transparent),
    radial-gradient(1px 1px at 32% 68%, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(1px 1px at 52% 88%, rgba(255, 255, 255, 0.16), transparent),
    radial-gradient(1px 1px at 92% 78%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 6% 86%, rgba(217, 180, 91, 0.35), transparent);
  opacity: 0.85;
}

/* ------------------------------ 顶部导航 ------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(9, 11, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 9, 13, 0.94);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.brand-text small { color: var(--muted-2); font-size: 11px; letter-spacing: 0.16em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-link.is-active { color: var(--gold-light); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.link-quiet { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.link-quiet:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  margin: 4px auto;
  background: var(--gold);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ------------------------------ 按钮 ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.2s;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(135deg, #f0d492 0%, #d9b45b 46%, #b98f3d 100%);
  color: #241b08;
  box-shadow: 0 10px 30px rgba(217, 180, 91, 0.18);
  font-weight: 600;
}
.btn-gold:hover { box-shadow: 0 14px 36px rgba(217, 180, 91, 0.32); transform: translateY(-1px); }

.btn-ghost {
  border-color: rgba(217, 180, 91, 0.35);
  color: var(--gold-light);
  background: rgba(217, 180, 91, 0.04);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(217, 180, 91, 0.1); }

.btn-plain {
  border-color: var(--line-soft);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-plain:hover { border-color: rgba(255, 255, 255, 0.2); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ------------------------------ 通用区块 ------------------------------ */

main { position: relative; z-index: 1; }

.section { padding: 92px 0; position: relative; }
.section-tight { padding: 64px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.014), rgba(255,255,255,0)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { max-width: 680px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-head.center .eyebrow::after {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.4; }
.section-title em { font-style: normal; color: var(--gold-light); }
.section-desc { margin-top: 16px; color: var(--muted); font-size: 15.5px; line-height: 1.9; }

.rule-gold {
  width: 64px; height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ------------------------------ Hero ------------------------------ */

.hero { padding: 82px 0 72px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(217, 180, 91, 0.06);
  font-size: 12.5px;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 180, 91, 0.16);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(217, 180, 91, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(217, 180, 91, 0.03); }
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.28;
  letter-spacing: 0.02em;
}
.hero h1 .gold {
  background: linear-gradient(120deg, #f7e2b4, #d9b45b 48%, #a17c35);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 22px;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 12.5px; color: var(--muted-2); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.compass-wrap { position: relative; width: min(410px, 88%); aspect-ratio: 1; }

.compass-ring-outer {
  position: absolute; inset: 0;
  animation: spin 90s linear infinite;
  color: rgba(217, 180, 91, 0.55);
}
.compass-ring-mid {
  position: absolute; inset: 9%;
  animation: spin-rev 60s linear infinite;
  color: rgba(217, 180, 91, 0.4);
}
.compass-core {
  position: absolute; inset: 22%;
  border-radius: 50%;
  border: 1px solid rgba(217, 180, 91, 0.35);
  background:
    radial-gradient(circle at 50% 40%, rgba(217, 180, 91, 0.14), rgba(11, 13, 18, 0.9) 68%);
  box-shadow: inset 0 0 60px rgba(217, 180, 91, 0.12), 0 0 80px rgba(217, 180, 91, 0.08);
  display: grid;
  place-items: center;
  text-align: center;
}
.compass-core .glyph {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 68px);
  color: var(--gold-light);
  text-shadow: 0 0 30px rgba(217, 180, 91, 0.45);
  line-height: 1;
}
.compass-core .sub {
  font-size: 10.5px;
  letter-spacing: 0.44em;
  color: rgba(217, 180, 91, 0.72);
  margin-top: 10px;
  padding-left: 0.44em;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

.orbit-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(217, 180, 91, 0.9);
}

/* ------------------------------ 数据条 ------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
  overflow: hidden;
  margin-top: 54px;
}
.stat { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--gold-light);
  line-height: 1.2;
}
.stat .num small { font-size: 13px; color: var(--muted); margin-left: 3px; font-family: var(--font-sans); }
.stat .label { margin-top: 8px; font-size: 12.5px; color: var(--muted-2); letter-spacing: 0.08em; }

/* ------------------------------ 业务模式 ------------------------------ */

.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.card:hover { border-color: rgba(217, 180, 91, 0.32); transform: translateY(-3px); }

.card-index {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }

.model-arrow {
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  font-size: 20px;
  padding-top: 8px;
}

.flow-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 22px 20px;
  border: 1px dashed rgba(217, 180, 91, 0.24);
  border-radius: 12px;
  background: rgba(217, 180, 91, 0.03);
  font-size: 14px;
  color: var(--muted);
}
.flow-inline b { color: var(--gold-light); font-weight: 500; }
.flow-inline .sep { color: var(--gold-deep); }

/* ------------------------------ 优势 ------------------------------ */

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-item {
  padding: 26px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s;
}
.adv-item:hover { border-color: rgba(217, 180, 91, 0.28); background: rgba(217, 180, 91, 0.035); }
.adv-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(217, 180, 91, 0.07);
  color: var(--gold);
  margin-bottom: 18px;
}
.adv-item h3 { font-size: 17px; margin-bottom: 10px; }
.adv-item p { color: var(--muted); font-size: 14px; line-height: 1.85; }

/* ------------------------------ 流程 ------------------------------ */

.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps::before {
  content: "";
  position: absolute;
  top: 26px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,180,91,0.35), rgba(217,180,91,0.35), transparent);
}
.step { position: relative; text-align: center; padding-top: 0; }
.step-num {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--gold-light);
  border: 1px solid rgba(217, 180, 91, 0.4);
  background: var(--ink-850);
  box-shadow: 0 0 0 6px var(--ink-900), 0 0 26px rgba(217, 180, 91, 0.12);
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted-2); line-height: 1.8; }

/* ------------------------------ 价格 ------------------------------ */

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }

.price-card {
  position: relative;
  padding: 36px 32px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 240px at 50% -10%, rgba(217, 180, 91, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  overflow: hidden;
}
.price-card .tag {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(217, 180, 91, 0.38);
  color: var(--gold-light);
  background: rgba(217, 180, 91, 0.08);
}
.price-name { font-size: 15px; color: var(--muted); letter-spacing: 0.1em; }
.price-main { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.price-main .cur { font-size: 20px; color: var(--gold); }
.price-main .num {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  color: var(--gold-light);
  letter-spacing: -0.01em;
}
.price-main .unit { font-size: 14px; color: var(--muted); }
.price-note { font-size: 13px; color: var(--muted-2); }

.price-list { list-style: none; padding: 0; margin: 24px 0 0; }
.price-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.price-list li:first-child { border-top: none; }
.price-list li::before { content: "◆"; color: var(--gold-deep); font-size: 9px; line-height: 2.1; }

.calc-box {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  padding: 30px;
}
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.07); font-size: 14px; color: var(--muted); }
.calc-row:last-of-type { border-bottom: none; }
.calc-row strong { color: var(--text); font-family: var(--font-serif); font-size: 18px; font-weight: 500; }
.calc-hint { margin-top: 14px; font-size: 12px; color: var(--muted-2); line-height: 1.8; }
.calc-head { font-size: 15px; color: var(--gold-light); margin-bottom: 6px; letter-spacing: 0.08em; }

/* ------------------------------ FAQ ------------------------------ */

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line-soft);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-family: var(--font-serif);
  color: var(--text);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-light); }
.faq-item summary .plus {
  flex: 0 0 22px;
  height: 22px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.faq-item summary .plus::before { width: 8px; height: 1px; }
.faq-item summary .plus::after { width: 1px; height: 8px; }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item[open] summary { color: var(--gold-light); }
.faq-body { padding: 0 4px 24px; color: var(--muted); font-size: 14.5px; line-height: 1.95; }

/* ------------------------------ 表单 ------------------------------ */

.join-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }

.form-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.field label .req { color: var(--gold); margin-left: 3px; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 9, 13, 0.6);
  color: var(--text);
  font-size: 14.5px;
  font-family: var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input::placeholder, .textarea::placeholder { color: #5b6270; }
.input:focus, .select:focus, .textarea:focus {
  border-color: rgba(217, 180, 91, 0.55);
  box-shadow: 0 0 0 3px rgba(217, 180, 91, 0.1);
}
.textarea { min-height: 108px; resize: vertical; line-height: 1.8; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2398a0ae' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.select option { background: #141821; color: var(--text); }

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.7;
  cursor: pointer;
}
.checkbox input { margin-top: 4px; accent-color: var(--gold); width: 15px; height: 15px; }

.form-tip { font-size: 12px; color: var(--muted-2); margin-top: 14px; line-height: 1.7; }
.form-errors {
  border: 1px solid rgba(192, 80, 63, 0.45);
  background: rgba(192, 80, 63, 0.1);
  border-radius: 9px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: #eab3a9;
}
.form-errors ul { margin: 6px 0 0; padding-left: 18px; }

.trust-list { list-style: none; padding: 0; margin: 26px 0 0; }
.trust-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.trust-list li:first-child { border-top: none; }
.trust-list .k { color: var(--gold); flex: 0 0 20px; font-size: 12px; line-height: 1.9; }
.trust-list .v { font-size: 14px; color: var(--muted); line-height: 1.8; }
.trust-list .v b { color: var(--text); font-weight: 500; display: block; font-size: 14.5px; }

/* ------------------------------ 提示条 ------------------------------ */

.notice-bar {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(217, 180, 91, 0.14);
  background: rgba(217, 180, 91, 0.05);
  font-size: 13px;
  color: var(--gold-light);
}
.notice-bar .shell { display: flex; align-items: center; gap: 10px; padding: 9px 26px; justify-content: center; text-align: center; }
.notice-bar .ic { font-size: 11px; letter-spacing: 0.1em; opacity: 0.8; }

.flash-stack { position: relative; z-index: 5; }
.flash {
  padding: 14px 20px;
  border-radius: 10px;
  margin: 18px auto;
  max-width: 1120px;
  font-size: 14px;
  border: 1px solid transparent;
}
.flash-success { background: rgba(79, 157, 122, 0.12); border-color: rgba(79, 157, 122, 0.4); color: #a8e0c8; }
.flash-error { background: rgba(192, 80, 63, 0.12); border-color: rgba(192, 80, 63, 0.4); color: #eab3a9; }
.flash-info { background: rgba(217, 180, 91, 0.08); border-color: rgba(217, 180, 91, 0.3); color: var(--gold-light); }

/* ------------------------------ 页面头（内页） ------------------------------ */

.page-hero {
  padding: 66px 0 46px;
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(700px 300px at 50% 0%, rgba(217, 180, 91, 0.1), transparent 70%);
  text-align: center;
}
.page-hero h1 { font-size: clamp(26px, 3.4vw, 38px); }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ------------------------------ 联系页 ------------------------------ */

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contact-card {
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.022);
}
.contact-card .label { font-size: 12px; letter-spacing: 0.2em; color: var(--gold-deep); margin-bottom: 10px; }
.contact-card .value { font-family: var(--font-serif); font-size: 24px; color: var(--text); letter-spacing: 0.04em; word-break: break-all; }
.contact-card .hint { margin-top: 8px; font-size: 13px; color: var(--muted-2); }
.contact-card a.value:hover { color: var(--gold-light); }

.qr-box {
  margin-top: 26px;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(217, 180, 91, 0.04);
}
.qr-box img { width: 132px; height: 132px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; }
.qr-box .t { font-size: 15px; margin-bottom: 6px; color: var(--gold-light); }
.qr-box .d { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ------------------------------ 页脚 ------------------------------ */

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(0,0,0,0.35));
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  gap: 34px;
  padding-bottom: 44px;
}
.footer-brand .brand { color: var(--gold); margin-bottom: 18px; }
.footer-desc { color: var(--muted-2); font-size: 13.5px; line-height: 1.9; max-width: 320px; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 16px; font-family: var(--font-sans); font-weight: 500; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: 13.5px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  padding-bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted-2);
}
.footer-tip { color: #5c636f; }

.to-top {
  position: fixed;
  right: 24px; bottom: 26px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(14, 16, 23, 0.9);
  color: var(--gold);
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 40;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ------------------------------ 动画 ------------------------------ */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .compass-ring-outer, .compass-ring-mid { animation: none; }
}

/* ------------------------------ 响应式 ------------------------------ */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { min-height: 320px; order: -1; }
  .compass-wrap { width: min(300px, 70%); }
  .model-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .steps::before { display: none; }
  .price-grid, .join-layout, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header-inner { height: 64px; }
  .nav {
    position: fixed;
    left: 0; right: 0;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 22px;
    background: rgba(9, 11, 15, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 14px 4px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); border-radius: 0; }
  .nav-link.is-active::after { display: none; }
  .nav-mobile-extra { display: flex; gap: 12px; margin-top: 18px; }
  .nav-mobile-extra .btn { flex: 1; }
  .nav-toggle { display: block; }
  .header-actions .link-quiet, .header-actions .btn { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 46px 0 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .model-grid, .adv-grid, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-panel { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .qr-box { flex-direction: column; text-align: center; }
  .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .price-card { padding: 28px 22px; }
}
