:root {
  --bg-top: #f8fbff;
  --bg-mid: #f4f8ff;
  --bg-bottom: #fffdf8;
  --text: #1b2235;
  --muted: #5f677c;
  --line: rgba(92, 111, 155, 0.25);
  --panel: rgba(255, 255, 255, 0.9);
  --primary: #1f6dff;
  --primary-deep: #1251c8;
  --accent: #0ea5e9;
  --chip-bg: #edf4ff;
  --chip-text: #1f4f9f;
  --shadow-soft: 0 16px 36px rgba(20, 33, 64, 0.1);
  --shadow-card: 0 8px 22px rgba(23, 38, 72, 0.09);
}

* { box-sizing: border-box; }
a { cursor: pointer; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(1100px 420px at 0% -12%, #d9e8ff 0%, transparent 62%),
    radial-gradient(800px 360px at 100% -10%, #d6f5ff 0%, transparent 58%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 44%, var(--bg-bottom) 100%);
}

.container {
  width: min(1100px, calc(100% - 34px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(248, 252, 255, 0.74);
  border-bottom: 1px solid rgba(120, 142, 188, 0.28);
}

.topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #101a31;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  text-decoration: none;
  color: #2d4672;
  font-weight: 700;
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(106, 134, 196, 0.3);
  background: rgba(255, 255, 255, 0.62);
  transition: all 0.2s ease;
}

.nav a:hover {
  color: #12366d;
  border-color: rgba(34, 106, 234, 0.45);
  background: rgba(234, 244, 255, 0.96);
}

main { padding: 30px 0 58px; }

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(600px 260px at 110% -20%, rgba(31, 109, 255, 0.2) 0%, transparent 70%),
    radial-gradient(560px 260px at -15% 105%, rgba(14, 165, 233, 0.16) 0%, transparent 72%),
    var(--panel);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #3f5a90;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 10px;
  line-height: 1.15;
  font-size: clamp(32px, 5vw, 46px);
}

.hero p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

.hero strong { color: #153a7d; }

.hero-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  border-radius: 12px;
  padding: 10px 15px;
  border: 1px solid transparent;
}

.action-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 10px 24px rgba(20, 83, 201, 0.24);
}

.action-primary:hover {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #0284c7 100%);
}

.action-ghost {
  color: #17418b;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(89, 125, 200, 0.36);
}

.action-ghost:hover {
  background: rgba(234, 244, 255, 0.95);
}

.hero-stats {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  max-width: 520px;
}

.stat {
  border: 1px solid rgba(108, 132, 186, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.7);
}

.stat span {
  display: block;
  color: #5d6a86;
  font-size: 12px;
  font-weight: 700;
}

.stat strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  line-height: 1.1;
}

.search-wrap input {
  width: 100%;
  margin-top: 16px;
  border-radius: 13px;
  border: 1px solid #c5d6f3;
  padding: 13px 14px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-wrap input:focus {
  outline: none;
  border-color: rgba(31, 109, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(31, 109, 255, 0.1);
}

h2 {
  margin: 30px 0 8px;
  font-size: 25px;
  letter-spacing: 0.2px;
}

.section-sub {
  margin: 0 0 12px;
  color: #616b80;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 119, 204, 0.42);
  box-shadow: 0 14px 28px rgba(24, 39, 73, 0.14);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.card h3 a {
  color: #15233d;
  text-decoration: none;
}

.card h3 a:hover { color: #1656cb; }

.card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.card p:last-child { margin-bottom: 0; }

.meta {
  color: #254986;
  font-weight: 800;
}

.chips,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.tag {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(79, 125, 210, 0.24);
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.card-link {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 9px 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border: 1px solid rgba(17, 87, 210, 0.25);
}

.card-link:hover {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #0284c7 100%);
}

.app-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 250, 255, 0.95) 100%);
}

.app-card p:last-child,
.tool-card p:last-child {
  margin-top: auto;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-card);
}

.panel p { margin: 6px 0; }

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid rgba(183, 201, 233, 0.58);
  padding: 12px;
  text-align: left;
}

.compare-table th {
  background: linear-gradient(180deg, #f4f8ff 0%, #ebf2ff 100%);
}

.site-footer {
  border-top: 1px solid rgba(129, 151, 198, 0.28);
  color: #5d677c;
  font-size: 14px;
  padding: 18px 0;
}

.hidden { display: none; }

@media (max-width: 760px) {
  .container { width: calc(100% - 24px); }
  .topbar {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero {
    padding: 22px 18px;
    border-radius: 18px;
  }
  h2 { font-size: 22px; }
}
