/* Agent 工具大对比 - 落地页样式(自包含,无外部依赖) */
:root {
  --bg: #0a0f1e;
  --surface: #111831;
  --surface-2: #161f3f;
  --border: rgba(148, 163, 200, 0.16);
  --text: #e7ebf7;
  --muted: #93a0bf;
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --ok: #34d399;
  --part: #fbbf24;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff;
}
.nav { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }

/* hero */
.hero {
  padding: 88px 0 72px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(99, 102, 241, 0.25), transparent 60%),
    radial-gradient(600px 300px at 80% 10%, rgba(34, 211, 238, 0.18), transparent 60%);
}
.badge {
  display: inline-block; font-size: 13px; color: var(--accent-2);
  border: 1px solid rgba(34, 211, 238, 0.35); border-radius: 999px;
  padding: 4px 14px; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; }
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { color: var(--muted); max-width: 620px; margin: 18px auto 30px; font-size: 17px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { padding: 12px 28px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 42px; }
.chips li {
  font-size: 13px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 14px;
}

/* stats */
.stats { border-block: 1px solid var(--border); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 24px; text-align: center; }
.stats-grid strong { font-size: 26px; display: block; color: var(--text); }
.stats-grid span { font-size: 13px; color: var(--muted); }

/* sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.section-sub { color: var(--muted); margin-bottom: 30px; }

/* table */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border);
  border-radius: 12px; background: var(--surface-2);
}
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
thead th { color: var(--muted); font-weight: 600; font-size: 13px; background: rgba(10, 15, 30, 0.5); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(99, 102, 241, 0.06); }
td.tool { font-weight: 700; color: #fff; }
.ok { color: var(--ok); }
.part { color: var(--part); }
.note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* dimension cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
}
.card h3 { font-size: 16px; margin-bottom: 10px; color: var(--accent-2); }
.card p { font-size: 14px; color: var(--muted); }

/* advice */
.advice-list { display: flex; flex-direction: column; gap: 12px; }
.advice {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 22px;
}
.advice .scene { font-weight: 700; color: #fff; min-width: 140px; }
.advice span:nth-child(2) { color: var(--accent-2); }
.advice p { color: var(--muted); font-size: 15px; flex: 1; min-width: 260px; }

/* cta */
.cta { padding: 72px 0; text-align: center; background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.08)); }
.cta p { color: var(--muted); margin: 12px 0 22px; }
pre {
  display: inline-block; text-align: left;
  background: #0d1326; border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 20px; font-size: 13px; color: var(--accent-2);
  overflow-x: auto; max-width: 100%;
}

/* footer */
.footer { border-top: 1px solid var(--border); padding: 30px 0; text-align: center; font-size: 13px; color: var(--muted); }
.footer .muted { color: #5b688a; margin-top: 4px; }

/* responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 56px 0 48px; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  h2 { font-size: 24px; }
}
