:root {
  /* 基础（浅色主题） */
  --bg: #f7f8fb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --text: rgba(17, 24, 39, 0.92);      /* 深灰近黑 */
  --muted: rgba(17, 24, 39, 0.62);
  --faint: rgba(17, 24, 39, 0.45);
  --stroke: rgba(17, 24, 39, 0.12);
  --shadow: 0 16px 42px rgba(17, 24, 39, 0.10);

  --radius: 18px;
  --radius-lg: 26px;

  /* 角色配色（浅色，区分明显） */
  --creator-accent: #3b82f6; /* 蓝 */
  --creator-tint: rgba(59, 130, 246, 0.14);

  --scenic-accent: #10b981;  /* 绿 */
  --scenic-tint: rgba(16, 185, 129, 0.14);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "PingFang SC",
    "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--text);

  /* 白底 + 微弱彩色氛围光（不脏） */
  background:
    radial-gradient(1200px 800px at 18% 12%, rgba(59, 130, 246, 0.10), transparent 55%),
    radial-gradient(1000px 700px at 82% 28%, rgba(16, 185, 129, 0.10), transparent 55%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* 顶部栏：浅色毛玻璃 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.70);
  border-bottom: 1px solid var(--stroke);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
}

.brand:focus-visible {
  outline: 2px solid rgba(17,24,39,0.25);
  outline-offset: 3px;
}

.brand__mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--creator-accent), var(--scenic-accent));
  box-shadow: 0 0 0 6px rgba(17, 24, 39, 0.05);
}

.brand__text {
  font-weight: 650;
  letter-spacing: 0.3px;
}

.topbar__nav {
  display: flex;
  gap: 14px;
}

.navlink {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
}

.navlink:hover {
  background: rgba(17,24,39,0.05);
  color: var(--text);
}

.navlink:focus-visible {
  outline: 2px solid rgba(17,24,39,0.25);
  outline-offset: 3px;
}

.hero {
  padding: 54px 0 40px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.hero__copy { padding-top: 12px; }

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero__desc {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

/* 角色入口卡片：白底 + 色条 + 渐变氛围 */
.rolecard {
  position: relative;
  appearance: none;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 18px 16px 18px 16px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transform: translateY(0);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
  min-height: 128px;
  overflow: hidden;
}

/* 左侧色条（区分最明显） */
.rolecard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 6px;
  border-radius: 999px;
  background: rgba(17,24,39,0.15);
}

/* 右上角微弱光晕 */
.rolecard::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.9;
}

.rolecard:hover {
  transform: translateY(-2px);
  background: var(--surface-strong);
  border-color: rgba(17,24,39,0.18);
  box-shadow: var(--shadow);
}

.rolecard:focus-visible {
  outline: 2px solid rgba(17,24,39,0.25);
  outline-offset: 4px;
}

.rolecard__title {
  display: block;
  font-weight: 750;
  font-size: 18px;
  margin-bottom: 6px;
}

.rolecard__desc {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.rolecard__action {
  display: inline-block;
  color: var(--text);
  font-size: 13px;
  opacity: 0.95;
}

/* 创作者卡片风格 */
.rolecard--creator::before { background: var(--creator-accent); }
.rolecard--creator::after {
  background: radial-gradient(circle at 30% 30%, var(--creator-tint), transparent 60%);
}

/* 景区卡片风格 */
.rolecard--scenic::before { background: var(--scenic-accent); }
.rolecard--scenic::after {
  background: radial-gradient(circle at 30% 30%, var(--scenic-tint), transparent 60%);
}

/* 选中态：更强的描边 + 轻微底色 */
.rolecard.is-selected {
  border-color: rgba(17,24,39,0.28);
  background: rgba(255,255,255,0.98);
}

/* 选中时也让色条更“发光”一点 */
.rolecard--creator.is-selected::before {
  box-shadow: 0 0 0 6px rgba(59,130,246,0.12);
}
.rolecard--scenic.is-selected::before {
  box-shadow: 0 0 0 6px rgba(16,185,129,0.12);
}

/* 提示条：浅色胶囊 */
.hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.70);
  color: var(--muted);
  width: fit-content;
}

.hint__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(17,24,39,0.45);
}

/* 右侧面板 */
.hero__panel { position: relative; }

.panel {
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.76);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
}

.panel__header {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.panel__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(17,24,39,0.05);
  border: 1px solid rgba(17,24,39,0.08);
  color: var(--text);
}

.panel__pill--muted { color: var(--muted); }

.steps {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}

.steps__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,0.08);
  background: rgba(255,255,255,0.62);
}

.steps__num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(17,24,39,0.06);
  border: 1px solid rgba(17,24,39,0.08);
  color: var(--text);
  font-weight: 750;
  font-size: 12px;
}

.steps__title {
  margin: 0;
  font-weight: 750;
  font-size: 13px;
}

.steps__desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.panel__footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(17,24,39,0.08);
}

.footer {
  padding: 26px 0 36px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(17,24,39,0.08);
  padding-top: 18px;
  gap: 12px;
}

.footer__text {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
}

/* 底部按钮 */
.linklike {
  appearance: none;
  border: 1px solid rgba(17,24,39,0.14);
  background: rgba(255,255,255,0.70);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.linklike:hover {
  color: var(--text);
  background: rgba(255,255,255,0.98);
}
.linklike:focus-visible {
  outline: 2px solid rgba(17,24,39,0.25);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { order: 2; }
}

@media (max-width: 640px) {
  .hero { padding-top: 34px; }
  .hero__cta { grid-template-columns: 1fr; }
  .topbar__nav { display: none; }
  .container { width: calc(100% - 28px); }
}
