/* SimpleAi 龙虾站 · 卡若展厅风（木果 M09a） */
:root {
  --ink: #1a1a1a;
  --ink-soft: #3c3c3c;
  --muted: #6b6b6b;
  --line: #e8e8e6;
  --paper: #fafaf8;
  --card: #ffffff;
  --accent: #bb0a21;
  --accent-soft: rgba(187, 10, 33, 0.08);
  --radius: 4px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.06);
  --font: "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
nav a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}
nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); font-weight: 600; }

.hero {
  background: linear-gradient(180deg, #f0f0ec 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 48px 20px 56px;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 20px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
}
.pill {
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--accent);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; }
.btn-ghost {
  background: var(--card);
  color: var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); text-decoration: none; }

.shell { max-width: 1120px; margin: 0 auto; padding: 36px 20px 48px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px 26px;
  margin-bottom: 22px;
}
.sec-title {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  color: var(--ink);
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
h3 { margin: 22px 0 10px; font-size: 1.08rem; color: var(--ink); }
h4 { margin: 16px 0 8px; font-size: 1rem; color: var(--ink-soft); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.feature-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.feature-tile .icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.feature-tile strong { display: block; color: var(--ink); margin-bottom: 6px; }
.feature-tile > span:last-child {
  flex: 1 1 auto;
  line-height: 1.6;
}

.steps {
  display: grid;
  gap: 14px;
}
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

details.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  background: #fff;
  margin-bottom: 10px;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.callout {
  border-left: 3px solid var(--accent);
  padding: 12px 16px 12px 15px;
  background: var(--accent-soft);
  margin: 16px 0;
  font-size: 0.92rem;
  line-height: 1.55;
}
.callout.warn { border-left-color: #c45c26; background: rgba(196, 92, 38, 0.08); }

ul.clean { margin: 8px 0; padding-left: 1.2rem; }
ul.clean li { margin: 6px 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px 36px;
  background: #f3f3f0;
  font-size: 0.88rem;
  color: var(--muted);
}
.site-footer .inner { max-width: 1120px; margin: 0 auto; }
.site-footer strong { color: var(--ink-soft); }

/* 首页装饰：竖向红条（叶片），与内容左缘对齐，不占大块空白卡片 */
.hero-leaf {
  margin-top: 28px;
  width: 3px;
  height: 44px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(187, 10, 33, 0.12);
}

@media (max-width: 720px) {
  .site-header .inner { flex-direction: column; align-items: flex-start; }
  nav ul { gap: 8px 12px; }
}

/* —— 购买页（单列 · 页脚紧跟内容，无大块中空） —— */
body.page-purchase {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  overflow-x: hidden;
}
body.page-purchase .site-header {
  flex-shrink: 0;
}
body.page-purchase .purchase-main {
  flex: 0 0 auto;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  /* 覆盖 .shell 默认下边距，避免购买页表单与页脚之间「空一截」 */
  padding-top: 22px;
  padding-bottom: 16px;
}
body.page-purchase .purchase-footer {
  flex: 0 0 auto;
  margin-top: 0;
}

.purchase-hero {
  background: linear-gradient(180deg, #f0f0ec 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 36px 20px 32px;
  text-align: center;
  flex-shrink: 0;
}
.purchase-hero-inner {
  max-width: 560px;
  margin: 0 auto;
}
.purchase-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  color: var(--ink);
}
.purchase-hero-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 12px;
  text-align: center;
}
.purchase-hero-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.purchase-layout {
  width: 100%;
  max-width: 520px;
  margin: 0;
  flex: 0 1 520px;
}
.purchase-card-form {
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}
/* 卡片内标题不用全站 h2 左侧红条，避免与输入框左缘不齐、视觉「歪」 */
body.page-purchase .purchase-card-form h2 {
  margin-bottom: 10px;
  border-left: none;
  padding-left: 0;
}
.purchase-form-intro {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.purchase-form {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
.pf-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0 0 14px;
  box-sizing: border-box;
}
.pf-field span {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.pf-field .req { color: var(--accent); font-style: normal; }
.pf-field input,
.pf-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.pf-field input:focus,
.pf-field textarea:focus {
  outline: 2px solid rgba(187, 10, 33, 0.2);
  border-color: var(--accent);
}
.pf-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 12px 0 18px;
  cursor: pointer;
}
.pf-check input { margin-top: 3px; flex-shrink: 0; }
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  font-size: 1.02rem;
}
.lead-status {
  min-height: 0;
  margin-top: 12px;
  font-size: 0.9rem;
}

