:root {
  --bg-void: #070708;
  --panel: rgba(22, 22, 26, 0.72);
  --hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.28);
  --glass-blur: 14px;
  --text: #f2f2f2;
  --text-2: #a0a0a0;
  --text-3: #6e6e6e;
  --brand: #c4786a;
  --brand-deep: #5c2428;
  --brand-void: #2a0e12;
  --brand-soft: rgba(120, 48, 52, 0.45);
  --brand-glow: rgba(140, 52, 58, 0.28);
  --on-solid: #0a0a0a;
  --radius: 16px;
  --font: "PingFang SC", "Hiragino Sans GB", "Segoe UI", "Noto Sans SC", sans-serif;
  --display: "Songti SC", "Noto Serif SC", Georgia, serif;
  --code: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --max: 1120px;
  /* 与「快速上手」玻璃盒外缘对齐的页面左右留白 */
  --page-inline: 24px;
  --rail: min(var(--max), calc(100% - (var(--page-inline) * 2)));
  /* 右侧滚动条：对齐「立即使用」深酒红毛玻璃渐变 */
  --scrollbar-size: 7px;
  --scrollbar-track: transparent;
  --scrollbar-thumb: linear-gradient(
    180deg,
    rgba(110, 44, 50, 0.72) 0%,
    rgba(92, 36, 40, 0.88) 28%,
    rgba(58, 20, 24, 0.92) 62%,
    rgba(42, 14, 18, 0.96) 100%
  );
  --scrollbar-thumb-hover: linear-gradient(
    180deg,
    rgba(130, 56, 62, 0.82) 0%,
    rgba(110, 44, 50, 0.92) 30%,
    rgba(72, 26, 32, 0.96) 65%,
    rgba(48, 16, 20, 0.98) 100%
  );
  --scrollbar-thumb-active: linear-gradient(
    180deg,
    rgba(150, 70, 76, 0.9) 0%,
    rgba(100, 40, 46, 0.96) 45%,
    rgba(52, 18, 22, 0.98) 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(92, 36, 40, 0.85) transparent;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-void);
  -webkit-font-smoothing: antialiased;
}

/* 页面最右侧滚动条 · 深邃酒红毛玻璃 */
*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 210, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(180, 120, 112, 0.22),
    0 0 10px rgba(40, 10, 14, 0.35);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 220, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(210, 150, 140, 0.28),
    0 0 14px rgba(120, 48, 52, 0.28);
}

*::-webkit-scrollbar-thumb:active {
  background: var(--scrollbar-thumb-active);
  background-clip: padding-box;
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

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

code {
  font-family: var(--code);
  font-size: 0.92em;
  color: var(--text-2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.atmosphere {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 90, 60, 0.12), transparent 42%),
    radial-gradient(ellipse at 80% 60%, rgba(255, 255, 255, 0.04), transparent 45%),
    linear-gradient(180deg, #121214 0%, var(--bg-void) 48%, #050506 100%);
}

.glass {
  background: var(--panel);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-left: 12px;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  font-size: 13px;
  color: var(--text-2);
  padding: 6px 4px;
}

.nav__links a:hover {
  color: var(--text);
}

.mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06) url("/assets/aipmclaw-logo.png") center / cover no-repeat;
  position: relative;
  display: inline-block;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.mark::after {
  content: none;
}

.mark--lg {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--hover);
}

.btn:active {
  transform: scale(0.98);
}

.btn--brand {
  background: linear-gradient(165deg, rgba(92, 36, 40, 0.92), rgba(42, 14, 18, 0.96));
  border-color: rgba(180, 120, 112, 0.32);
  color: #f6efed;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 210, 0.14),
    0 8px 28px rgba(40, 10, 14, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.25);
}

.btn--brand:hover {
  filter: none;
  background: linear-gradient(165deg, rgba(110, 44, 50, 0.96), rgba(52, 18, 22, 0.98));
  border-color: rgba(210, 150, 140, 0.42);
  color: #fffaf8;
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 220, 0.18),
    0 10px 32px rgba(60, 16, 22, 0.5),
    0 0 36px rgba(120, 48, 52, 0.22);
}

.btn--solid {
  background: #fff;
  color: var(--on-solid);
  border-color: #fff;
  font-weight: 600;
  height: 44px;
  padding: 0 22px;
}

.btn--solid:hover {
  background: #e8e8e8;
}

.btn--ghost {
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  height: 44px;
  padding: 0 20px;
}

.btn--ghost:hover {
  border-color: var(--border-strong);
}

.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

/* —— 页面内容轨：外缘统一对齐「快速上手」模块 —— */
.hero,
.features,
.scenes,
.placeholder,
.footer,
.page-hero,
.pricing,
.enterprise-grid {
  width: var(--rail);
  max-width: var(--rail);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* —— Hero —— */
.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  display: inline-block;
  /* 标题后的酒红过渡条 */
  background-image: linear-gradient(
    90deg,
    rgba(232, 90, 60, 0.72) 0%,
    rgba(196, 120, 106, 0.42) 38%,
    rgba(92, 36, 40, 0.14) 68%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 0.32em;
  background-position: 0 86%;
}

.hero__slogan {
  margin: 0 auto 12px;
  max-width: 640px;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--text);
  line-height: 1.45;
}

.hero__sub {
  margin: 0 auto 28px;
  max-width: 520px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero__hint {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--code);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rise {
  animation: rise 0.55s ease both;
}

.delay-1 {
  animation-delay: 0.06s;
}
.delay-2 {
  animation-delay: 0.12s;
}
.delay-3 {
  animation-delay: 0.18s;
}
.delay-4 {
  animation-delay: 0.24s;
}

.mark--lg {
  animation: mark-float 4.5s ease-in-out infinite;
}

@keyframes mark-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise,
  .mark--lg,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Scenes —— */
.scenes {
  margin-bottom: 16px;
  padding: 8px 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-family: var(--display);
  font-weight: 600;
  display: inline-block;
  background-image: linear-gradient(
    90deg,
    rgba(232, 90, 60, 0.65) 0%,
    rgba(196, 120, 106, 0.35) 45%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 88%;
}

.section-head p:last-child {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  max-width: 520px;
  line-height: 1.55;
}

.scenes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.scene {
  border-radius: var(--radius);
  padding: 22px 20px;
  min-height: 140px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.scene:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.scene__tag {
  margin: 0 0 10px;
  font-family: var(--code);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.scene h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.scene p:last-child {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: 0.05s;
}
.reveal:nth-child(3) {
  transition-delay: 0.1s;
}
.reveal:nth-child(4) {
  transition-delay: 0.15s;
}
.reveal:nth-child(5) {
  transition-delay: 0.2s;
}

@media (max-width: 720px) {
  .scenes__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Features —— */
.features {
  padding: 8px 0 40px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.card {
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 180px;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card--accent {
  border-color: var(--brand-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(232, 90, 60, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.card--accent:hover {
  border-color: var(--brand);
}

.card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
}

.card h3 {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

.card__link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 500;
}

.card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Placeholders（快速上手等：外缘即对齐基准） —— */
.placeholder {
  margin-bottom: 16px;
  padding: 28px 24px;
  border-radius: var(--radius);
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--code);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.placeholder h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-family: var(--display);
  font-weight: 600;
  display: inline-block;
  background-image: linear-gradient(
    90deg,
    rgba(232, 90, 60, 0.65) 0%,
    rgba(196, 120, 106, 0.35) 45%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 88%;
}

.placeholder p {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
  max-width: 640px;
}

.file-list {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.7;
}

.install-pre {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--code);
  font-size: 12px;
  color: var(--text-2);
  overflow: auto;
  line-height: 1.5;
  white-space: pre-wrap;
}

.steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.steps li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
  padding: 14px 8px 14px 4px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  transition: background 0.2s ease;
}

.steps li:last-child {
  border-bottom: none;
}

.steps li:hover {
  background: rgba(255, 255, 255, 0.02);
}

.steps li strong {
  grid-column: 1;
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  /* 用 background 画条，避免 z-index:-1 被 .glass 挡住 */
  background-image: linear-gradient(
    90deg,
    rgba(232, 90, 60, 0.55) 0%,
    rgba(196, 120, 106, 0.32) 48%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 0.42em;
  background-position: 0 88%;
}

.steps li:hover strong,
.steps li.is-active strong,
.steps li:first-child strong {
  background-image: linear-gradient(
    90deg,
    rgba(232, 90, 60, 0.78) 0%,
    rgba(196, 120, 106, 0.42) 42%,
    rgba(92, 36, 40, 0.12) 75%,
    transparent 100%
  );
  background-size: 108% 0.48em;
}

.steps li span {
  grid-column: 1;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
}

.steps li .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  height: 34px;
}

.muted-line {
  color: var(--text-3) !important;
  font-size: 13px !important;
}

.release-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 12px;
}

.release-table th,
.release-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.release-table th {
  color: var(--text-3);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-table .mono {
  font-family: var(--code);
  font-size: 12px;
}

.release-table .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 12px 0 4px;
}

.metrics div {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.metrics em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 4px;
}

.metrics strong {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .steps li {
    grid-template-columns: 1fr;
  }
  .steps li .btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 6px;
  }
}

/* —— Footer —— */
.footer {
  margin-top: 24px;
  padding: 20px 0 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text-3);
  border-top: 1px solid var(--border);
}

.footer__links {
  display: flex;
  gap: 14px;
}

.footer__links a:hover {
  color: var(--text);
}

/* —— Pricing / Enterprise pages —— */
.page-hero {
  padding: 72px 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  margin: 8px 0 12px;
  letter-spacing: 0.02em;
  display: inline-block;
  background-image: linear-gradient(
    90deg,
    rgba(232, 90, 60, 0.65) 0%,
    rgba(196, 120, 106, 0.35) 45%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 0.36em;
  background-position: 0 88%;
}

.page-hero__sub {
  max-width: 560px;
  margin: 0 auto 20px;
  color: var(--text-2);
  line-height: 1.6;
}

.pricing {
  padding: 0 0 48px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price {
  padding: 24px 20px;
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  align-content: start;
}

.price--accent {
  border-color: var(--brand-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(232, 90, 60, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.price__tag {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
}

.price h3 {
  margin: 0;
  font-size: 20px;
}

.price__num {
  margin: 0;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 600;
}

.price__desc {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.price__list {
  margin: 4px 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.price__list li::before {
  content: "· ";
  color: var(--brand);
}

.enterprise-grid {
  padding: 0 0 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .pricing__grid,
  .enterprise-grid {
    grid-template-columns: 1fr;
  }
}

.lead-form {
  display: grid;
  gap: 10px;
  max-width: 480px;
  margin-top: 16px;
  text-align: left;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
}

.lead-form input,
.lead-form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
}

@media (max-width: 980px) {
  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav__links {
    display: none;
  }
}

@media (max-width: 560px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 48px;
  }
  .nav {
    padding: 10px 14px;
  }
}

.download-list{list-style:none;margin:16px 0;padding:0;display:grid;gap:10px;text-align:left;max-width:560px}
.download-list li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.download-list code{font-size:12px;opacity:.85}
