/* ==========================================================================
   免费网站入口 - 全站样式
   ========================================================================== */

:root {
  --brand: #2f6bff;
  --brand-deep: #1b3fbf;
  --brand-soft: #eaf0ff;
  --teal: #00b894;
  --teal-soft: #e3f8f3;
  --amber: #ff8a3d;
  --ink: #0d1326;
  --ink-2: #1c2540;
  --text: #39425c;
  --muted: #7a849c;
  --line: #e6ebf5;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --bg-deep: #0a1020;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(13, 19, 38, 0.05);
  --shadow: 0 14px 36px -18px rgba(13, 19, 38, 0.28);
  --shadow-lg: 0 32px 64px -32px rgba(13, 19, 38, 0.42);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--ink);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--brand-deep);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  color: #fff;
  background: var(--brand);
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

[hidden] {
  display: none !important;
}

.section {
  padding: 84px 0;
  position: relative;
}

.section--soft {
  background: var(--bg-soft);
}

.section--tight {
  padding: 60px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ------------------------------ 按钮 ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand) 0%, #4f8cff 55%, var(--teal) 130%);
  box-shadow: 0 12px 26px -12px rgba(47, 107, 255, 0.75);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 18px 34px -14px rgba(47, 107, 255, 0.85);
}

.btn--ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  color: var(--brand);
  border-color: #c6d6ff;
}

.btn--light {
  color: var(--ink);
  background: #fff;
}

.btn--light:hover {
  color: var(--brand-deep);
}

.btn--line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

.btn--line:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

/* ------------------------------ 顶部导航 ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230, 235, 245, 0.9);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 10px 30px -22px rgba(13, 19, 38, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand) 0%, #5b8dff 45%, var(--teal) 110%);
  box-shadow: 0 8px 18px -10px rgba(47, 107, 255, 0.9);
  flex: 0 0 auto;
}

.brand__text small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.4;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav__menu a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav__menu a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 700;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  padding: 92px 0 108px;
  color: #e8eefc;
  background: radial-gradient(120% 120% at 12% 0%, #1a2b6b 0%, #0a1020 52%, #070b16 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(80% 70% at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 20%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -220px;
  top: -300px;
  background: radial-gradient(circle, rgba(0, 184, 148, 0.34) 0%, transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  color: #fff;
}

.hero h1 .grad {
  background: linear-gradient(100deg, #7fb0ff 8%, #64e2cb 74%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.06rem;
  color: #a9b6d4;
  max-width: 540px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.82rem;
  color: #c3cfea;
  background: rgba(255, 255, 255, 0.06);
}

.hero__badge b {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #04121f;
  background: linear-gradient(120deg, #7fb0ff, #64e2cb);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.hero__stats strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #fff;
}

.hero__stats span {
  font-size: 0.82rem;
  color: #8f9dbb;
}

/* Hero 卡片 / 搜索 */
.hero__panel {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
}

.hero__panel h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #fff;
}

.hero__panel > p {
  margin: 0 0 18px;
  font-size: 0.82rem;
  color: #93a0bf;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
}

.search input::placeholder {
  color: #9aa4bd;
}

.search button {
  flex: 0 0 auto;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #4f8cff);
  cursor: pointer;
  transition: filter 0.25s var(--ease);
}

.search button:hover {
  filter: brightness(1.08);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.chip-list a {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.8rem;
  color: #c2cde8;
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.25s var(--ease);
}

.chip-list a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
}

.hero__float {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: rgba(10, 16, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #9daac8;
}

.hero__float strong {
  color: #fff;
  font-size: 0.86rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.6);
  animation: pulse 2s infinite;
  flex: 0 0 auto;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(0, 184, 148, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 184, 148, 0);
  }
}

/* ------------------------------ 通用区块标题/内容 ------------------------------ */
.lead {
  font-size: 1.04rem;
  color: var(--text);
}

.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 2em;
}

.prose h3 {
  margin-top: 1.6em;
}

.prose img {
  border-radius: var(--radius);
  margin: 26px 0;
}

.prose blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-soft);
  color: var(--ink-2);
}

.text-center {
  text-align: center;
}

/* ------------------------------ 网格与卡片 ------------------------------ */
.grid {
  display: grid;
  gap: 22px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: #cfdcff;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 8px;
}

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

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-size: 1.4rem;
  color: var(--brand);
  background: var(--brand-soft);
}

.card__icon--teal {
  color: #008e74;
  background: var(--teal-soft);
}

.card__icon--amber {
  color: #c2571a;
  background: #fff1e6;
}

.card__num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: #eef2fb;
}

/* 站点卡片 */
.site-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
    border-color 0.32s var(--ease);
}

.site-card:hover {
  transform: translateY(-5px);
  border-color: #cfdcff;
  box-shadow: var(--shadow);
}

.site-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-card__logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #2f6bff, #00b894);
  flex: 0 0 auto;
}

.site-card__logo--amber {
  background: linear-gradient(135deg, #ff8a3d, #ff5f6d);
}

.site-card__logo--violet {
  background: linear-gradient(135deg, #7a5cf0, #4f8cff);
}

.site-card__logo--pink {
  background: linear-gradient(135deg, #ff6fa5, #ff8a3d);
}

.site-card h3 {
  margin: 0;
  font-size: 1rem;
}

.site-card__meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.site-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
}

.site-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  list-style: none;
  padding-left: 0;
}

.site-card__tags li {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--brand);
  background: var(--brand-soft);
}

/* 筛选按钮 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-bar button {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-bar button:hover {
  border-color: #c6d6ff;
  color: var(--brand);
}

.filter-bar button.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--brand), #4f8cff);
  box-shadow: 0 10px 22px -14px rgba(47, 107, 255, 0.9);
}

.empty-tip {
  display: none;
  padding: 32px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.empty-tip.is-visible {
  display: block;
}

/* ------------------------------ 媒体左右分栏 ------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.split__media:hover img {
  transform: scale(1.04);
}

.split__body h2 {
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.94rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
}

/* ------------------------------ CTA ------------------------------ */
.cta {
  position: relative;
  padding: 74px 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(125deg, #1b3fbf 0%, #2f6bff 42%, #00a98a 100%);
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.cta::before {
  width: 320px;
  height: 320px;
  left: -90px;
  bottom: -170px;
}

.cta::after {
  width: 220px;
  height: 220px;
  right: 4%;
  top: -110px;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

/* ------------------------------ FAQ ------------------------------ */
.faq {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq__item[open] {
  border-color: #cfdcff;
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(225deg);
  margin-top: -2px;
}

.faq__item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text);
  font-size: 0.94rem;
}

/* ------------------------------ 新闻 / 文章列表 ------------------------------ */
.post {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
    border-color 0.32s var(--ease);
}

.post:hover {
  transform: translateY(-4px);
  border-color: #cfdcff;
  box-shadow: var(--shadow);
}

.post__thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.post__thumb img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.post:hover .post__thumb img {
  transform: scale(1.05);
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.post__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post__tag {
  padding: 2px 10px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.post h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
}

.post h3 a {
  color: var(--ink);
}

.post h3 a:hover {
  color: var(--brand);
}

.post p {
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--text);
}

.post__more {
  font-size: 0.86rem;
  font-weight: 600;
}

/* 文章页 */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.article {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--muted);
}

.article__cover {
  border-radius: var(--radius);
  margin-bottom: 28px;
  overflow: hidden;
}

.article h2 {
  margin-top: 1.8em;
  font-size: 1.42rem;
}

.article h3 {
  margin-top: 1.5em;
  font-size: 1.1rem;
}

.article ul,
.article ol {
  padding-left: 1.3em;
}

.article li {
  margin-bottom: 8px;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.article th,
.article td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.article th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
}

.aside-card {
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.aside-card h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.aside-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.aside-card li {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}

.aside-card li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.aside-card a {
  color: var(--ink-2);
}

.aside-card a:hover {
  color: var(--brand);
}

.aside-card--dark {
  color: #c6d2ea;
  border-color: transparent;
  background: linear-gradient(150deg, #16224a, #0a1020);
}

.aside-card--dark h3 {
  color: #fff;
}

.aside-card--dark p {
  color: #9dabc9;
  font-size: 0.88rem;
}

/* ------------------------------ 页面横幅 ------------------------------ */
.page-banner {
  position: relative;
  padding: 76px 0 70px;
  color: #dfe7fa;
  text-align: center;
  background: radial-gradient(110% 130% at 50% 0%, #1c2e6e 0%, #0a1020 60%, #070b16 100%);
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: #fff;
}

.page-banner p {
  max-width: 660px;
  margin: 0 auto;
  color: #a7b5d3;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: #8593b3;
  list-style: none;
  padding: 0;
}

.breadcrumb a {
  color: #a9b8d8;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #58688c;
}

/* 统计条 */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.stat-strip div {
  padding: 28px 22px;
  text-align: center;
  background: #fff;
}

.stat-strip strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--brand);
}

.stat-strip span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* 时间线 */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 28px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--brand), var(--teal));
  opacity: 0.35;
}

.timeline li {
  position: relative;
  padding-bottom: 32px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}

.timeline time {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.timeline h3 {
  margin: 4px 0 6px;
  font-size: 1.05rem;
}

.timeline p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

/* ------------------------------ 表单 ------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.form-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.field .req {
  color: #e5484d;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--bg-soft);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}

.field input:invalid:not(:placeholder-shown) {
  border-color: #f0b4b7;
}

.field__hint {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.form-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #067a63;
  background: var(--teal-soft);
  border: 1px solid #b6ecdf;
}

.form-success.is-visible {
  display: block;
}

.contact-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 1rem;
  color: var(--brand);
  background: var(--brand-soft);
  flex: 0 0 auto;
}

.contact-item h3 {
  margin: 0 0 2px;
  font-size: 0.92rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ------------------------------ 页脚 ------------------------------ */
.site-footer {
  padding: 64px 0 0;
  color: #93a1bf;
  background: #070b16;
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
}

.footer__brand .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer__brand p {
  max-width: 340px;
  color: #7c8aa8;
  font-size: 0.88rem;
}

.footer h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer a {
  color: #8b99b8;
  font-size: 0.88rem;
}

.footer a:hover {
  color: #fff;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer__badges span {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  color: #93a1bf;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #6f7d9c;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ------------------------------ 返回顶部 ------------------------------ */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--brand), #4f8cff);
  box-shadow: 0 14px 28px -14px rgba(47, 107, 255, 0.9);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ------------------------------ 动画 ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------ 响应式 ------------------------------ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero {
    padding: 68px 0 82px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .article-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
  }

  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(13, 19, 38, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s var(--ease);
  }

  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__menu a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .nav__actions .btn {
    display: none;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .post {
    grid-template-columns: 1fr;
  }

  .post__thumb img {
    min-height: 200px;
  }

  .section {
    padding: 62px 0;
  }

  .article {
    padding: 24px;
  }

  .grid-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero__stats li {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .hero__panel {
    padding: 20px;
  }

  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .cta__actions .btn,
  .hero__actions .btn {
    width: 100%;
  }

  .search {
    flex-wrap: wrap;
    padding: 10px;
    border-radius: var(--radius);
  }

  .search input {
    width: 100%;
    flex: 1 1 100%;
    padding: 6px 8px;
  }

  .search button {
    width: 100%;
  }

  .card,
  .form-card,
  .site-card {
    padding: 22px;
  }

  .stat-strip strong {
    font-size: 1.5rem;
  }
}
