/* Web Extract · 定价页（Swiss 建筑网格 + 3 栏卡片，主色 Google Blue #1A73E8） */

:root {
  --ink: #111318;
  --ink-2: #2c313a;
  --muted: #5f6672;
  --faint: #8b929c;
  --line: #e6e8ec;
  --line-strong: #d4d8df;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --accent: #1a73e8;
  --accent-hover: #155fc4;
  --accent-soft: #eef5ff;
  --accent-border: #cde0ff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 14px;
  line-height: 1.55;
}

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-soft);
  color: var(--ink-2);
}

/* ---------- 顶栏 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo { width: 22px; height: 22px; display: block; }
.brand-name { font-size: 14.5px; font-weight: 700; letter-spacing: -0.015em; }

.ver {
  font: 500 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--faint);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 120ms ease;
}

.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--accent); font-weight: 600; }

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  font: 500 12.5px/1 inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.btn:hover { background: var(--bg-soft); color: var(--ink); }
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn.ghost:hover { border-color: var(--line); background: #fff; color: var(--ink); }

.btn-chrome {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: 600 12.5px/1 inherit;
  cursor: pointer;
  transition: background 120ms ease;
}

.btn-chrome:hover { background: var(--accent-hover); }
.btn-chrome svg { width: 13px; height: 13px; }

/* ---------- 建筑网格主容器 ---------- */

.shell {
  max-width: 1080px;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.sec {
  position: relative;
  padding: 44px 36px;
  border-bottom: 1px solid var(--line);
}

.sec:last-child { border-bottom: 0; }

.crosshair-top {
  position: absolute;
  top: -11px;
  left: -6px;
  right: -6px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  font: 400 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #b7bec9;
}

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

.hero { padding-top: 48px; padding-bottom: 44px; }

.crumb {
  font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--faint);
  margin-bottom: 16px;
}

.crumb span { margin: 0 5px; color: #c4cad4; }

h1 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.032em;
  color: var(--ink);
}

.lede {
  margin: 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font: 600 13.5px/1 inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease;
}

.btn-solid:hover { background: var(--accent-hover); }
.btn-solid svg { width: 14px; height: 14px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink-2);
  font: 500 13.5px/1 inherit;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
}

.btn-outline:hover { background: var(--bg-soft); border-color: #c2c8d2; color: var(--ink); }

.hero-meta {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--faint);
}

/* ---------- 3 栏定价卡片 ---------- */

.sec-note {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 28px -18px rgba(17, 19, 24, 0.25);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.rec-tag {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font: 600 11px/1 inherit;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 16px;
}

.amount {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.period {
  font-size: 13.5px;
  color: var(--muted);
}

.card-discount {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.strike {
  font-size: 14px;
  color: var(--faint);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
}

.card-desc {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  min-height: 40px;
}

.card-sep {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.card-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
}

.card-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

.card-cta {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 600 13.5px/1 inherit;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 90ms ease;
}

.card-cta:hover { background: var(--bg-soft); border-color: #bfc6d0; }
.card-cta:active { transform: scale(0.99); }

/* Featured Lifetime Card (实体主色填充) */
.card.is-featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px -20px rgba(26, 115, 232, 0.55);
}

.card.is-featured:hover {
  border-color: var(--accent-hover);
  box-shadow: 0 22px 44px -20px rgba(26, 115, 232, 0.65);
}

.card.is-featured .period,
.card.is-featured .card-desc { color: rgba(255, 255, 255, 0.82); }
.card.is-featured .strike { color: rgba(255, 255, 255, 0.62); }

.card.is-featured .pill {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.card.is-featured .card-sep { background: rgba(255, 255, 255, 0.2); }
.card.is-featured .card-list li { color: rgba(255, 255, 255, 0.95); }
.card.is-featured .card-list li::before { color: #fff; }

.card.is-featured .card-cta {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.card.is-featured .card-cta:hover { background: #f3f6fb; border-color: #f3f6fb; }

/* ---------- 方案对比表格 ---------- */

.sec-title {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.sec-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.table-wrap {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.compare-table thead th {
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr.is-highlight { background: #f6faff; }

.inline-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

/* ---------- Pro 包含能力 ---------- */

.sec-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.all-plans-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.feature-grid {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.feature-grid li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.feature-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- FAQ 手风琴 ---------- */

.faq-list {
  margin-top: 20px;
}

.faq-item {
  border-top: 1px dashed var(--line-strong);
}

.faq-item:last-child {
  border-bottom: 1px dashed var(--line-strong);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font: 400 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--faint);
  transition: transform 150ms ease, color 150ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item p {
  margin: 0 0 18px;
  max-width: 72ch;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 试用状态提示条 & 激活码表单 ---------- */

.trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 36px;
  border-bottom: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}

.trial-banner[hidden] { display: none; }

.trial-banner.is-expired {
  background: #fef2f2;
  border-bottom-color: #fecaca;
  color: #b91c1c;
}

.trial-banner.is-pro {
  background: #ecfdf3;
  border-bottom-color: #bbf7d0;
  color: #15803d;
}

.trial-banner-link {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.license-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  max-width: 520px;
}

.license-input {
  flex: 1;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #ffffff;
  color: var(--ink);
  font: 500 13.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  outline: none;
}

.license-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.14);
}

.license-msg {
  margin: 10px 0 0;
  font-size: 13px;
  color: #15803d;
}

.license-msg.is-error { color: #b91c1c; }

/* ---------- 页脚与提示 ---------- */

.foot-sec { padding-top: 28px; padding-bottom: 44px; }

.fine {
  margin: 0;
  font-size: 12.5px;
  color: var(--faint);
}

.dev-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 12.5px;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 10px);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  z-index: 40;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

@media (max-width: 860px) {
  .nav { display: none; }
  .sec { padding: 32px 20px; }
  h1 { font-size: 30px; }
  .cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .table-wrap { overflow-x: auto; }
}
