/* ===========================================================
   快连VPN 落地页样式
   断点：1200px / 768px / 480px
   =========================================================== */

:root {
  --c-primary: #2563eb;
  --c-primary-dark: #1d4ed8;
  --c-primary-light: #3b82f6;
  --c-cyan: #06b6d4;
  --c-navy: #0b1b3a;
  --c-navy-2: #123a8c;
  --c-text: #1f2937;
  --c-text-soft: #4b5563;
  --c-muted: #6b7280;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f8ff;
  --c-border: #e5e7eb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, .06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .10);
  --shadow-lg: 0 18px 44px rgba(16, 24, 40, .14);
  --header-h: 68px;
  --maxw: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--c-primary-light); outline-offset: 2px; border-radius: 6px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-cyan) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(37, 99, 235, .34); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------------- 头部 ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 999;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--c-border);
  background: rgba(255, 255, 255, .96);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { display: block; }
.brand-text { font-size: 20px; font-weight: 800; letter-spacing: .5px; color: var(--c-navy); }
.brand-accent {
  background: linear-gradient(135deg, var(--c-primary), var(--c-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text-soft);
  padding: 6px 0;
  transition: color .18s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-cyan));
  transition: width .22s var(--ease);
}
.nav-link:hover { color: var(--c-primary); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--c-primary); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.menu-bar {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--c-navy);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.menu-toggle.is-open .menu-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 40px;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 520px at 82% 8%, rgba(6, 182, 212, .38), transparent 60%),
    radial-gradient(760px 460px at 8% 12%, rgba(37, 99, 235, .45), transparent 62%),
    linear-gradient(160deg, #0b1b3a 0%, #123a8c 58%, #0e2a66 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(255, 255, 255, .86);
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.platforms-label { font-size: 13px; color: rgba(255, 255, 255, .62); margin-right: 14px; }
.platform-list { display: inline-flex; flex-wrap: wrap; gap: 18px; }
.platform-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: rgba(255, 255, 255, .92);
}
.platform-list i { font-size: 17px; }
.hero-visual { display: flex; justify-content: center; }
.hero-img { filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-stats li { text-align: center; }
.hero-stats strong {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #8ee7f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .72); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 88px 0; }
.section-alt { background: var(--c-bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--c-navy);
  margin-bottom: 12px;
}
.section-desc { color: var(--c-muted); font-size: 16px; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------------- 功能卡片 ---------------- */
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, .35);
}
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .16));
  color: var(--c-primary);
  font-size: 22px;
  margin-bottom: 18px;
}
.card-title { font-size: 19px; color: var(--c-navy); }
.card-text { color: var(--c-text-soft); font-size: 15px; margin: 0; }

/* ---------------- 优势列表 ---------------- */
.feature-row {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.feature-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-cyan));
  color: #fff;
  font-size: 18px;
}
.feature-row h3 { font-size: 17px; color: var(--c-navy); margin-bottom: 4px; }
.feature-row p { color: var(--c-text-soft); font-size: 14.5px; margin: 0; }

.map-wrap { margin-top: 44px; }
.map-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: #fff;
  display: block;
}

/* ---------------- 下载 ---------------- */
.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.download-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, .4);
}
.dl-icon { font-size: 40px; color: var(--c-navy); }
.dl-platform { font-size: 18px; font-weight: 700; color: var(--c-navy); }
.dl-meta { font-size: 13px; color: var(--c-muted); }
.dl-btn {
  margin-top: 12px;
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--c-primary), var(--c-cyan));
  transition: box-shadow .2s var(--ease);
}
.download-card:hover .dl-btn { box-shadow: 0 10px 22px rgba(37, 99, 235, .3); }
.sys-require {
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--c-muted);
}

/* ---------------- FAQ 手风琴 ---------------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.acc-item.is-open { border-color: rgba(37, 99, 235, .4); box-shadow: var(--shadow-sm); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-navy);
  text-align: left;
  font-family: inherit;
}
.acc-trigger:hover { color: var(--c-primary); }
.acc-arrow { color: var(--c-primary); transition: transform .25s var(--ease); font-size: 14px; }
.acc-item.is-open .acc-arrow { transform: rotate(180deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
}
.acc-body {
  padding: 0 22px 20px;
  color: var(--c-text-soft);
  font-size: 15px;
}

/* ---------------- CTA 横幅 ---------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 60%, var(--c-primary) 100%);
  color: #fff;
  padding: 56px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 6px; }
.cta-inner p { color: rgba(255, 255, 255, .82); margin: 0; font-size: 15px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0a142c; color: rgba(255, 255, 255, .74); padding: 56px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .brand-text { color: #fff; }
.footer-desc { font-size: 14px; margin: 14px 0 18px; max-width: 380px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--c-primary); transform: translateY(-2px); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links h3 { font-size: 15px; color: #fff; margin-bottom: 12px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; transition: color .2s var(--ease); }
.footer-links a:hover { color: #7dd3fc; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, .56);
}
.footer-bottom p { margin: 0; }

/* ---------------- 返回顶部 ---------------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--c-primary), var(--c-cyan));
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------------- 进场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- 子页面通用 ---------------- */
.subpage { padding: calc(var(--header-h) + 56px) 0 72px; }
.subpage h1 { font-size: clamp(24px, 3vw, 34px); color: var(--c-navy); }
.subpage h2 { font-size: 20px; color: var(--c-navy); margin-top: 32px; }
.subpage p, .subpage li { color: var(--c-text-soft); }
.subpage .meta-info { color: var(--c-muted); font-size: 14px; }
.status-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.status-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  font-size: 15px;
}
.status-item .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #10b981; display: inline-block; margin-right: 10px;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .16);
}
.status-item .val { color: var(--c-muted); font-size: 13px; }

/* ===========================================================
   技术文章：详情页 / 列表页
   =========================================================== */
.breadcrumb {
  font-size: 13.5px;
  color: var(--c-muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--c-primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; color: #cbd5e1; }
.breadcrumb em { font-style: normal; color: var(--c-text-soft); }

.article-page { padding: calc(var(--header-h) + 44px) 0 72px; }
.article-head { margin-bottom: 24px; }
.article-head h1 {
  font-size: clamp(24px, 3.2vw, 36px);
  color: var(--c-navy);
  margin: 14px 0 14px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  color: var(--c-muted);
  margin: 0;
}
.article-meta i { color: var(--c-primary); margin-right: 5px; }

.article-hero { margin: 0 0 30px; }
.article-hero img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow-sm);
}

.article-content { font-size: 16.5px; color: var(--c-text); }
.article-content h2 {
  font-size: 21px;
  color: var(--c-navy);
  margin: 34px 0 12px;
  padding-left: 12px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #2563eb, #06b6d4) 1;
}
.article-content p { color: var(--c-text-soft); line-height: 1.9; margin: 0 0 16px; }
.article-lead {
  padding: 18px 22px;
  background: var(--c-bg-soft);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--c-text) !important;
  font-size: 17px;
}

.takeaways {
  margin: 34px 0;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(6, 182, 212, .08));
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: var(--radius);
}
.takeaways h3 { font-size: 17px; color: var(--c-navy); margin-bottom: 12px; }
.takeaways h3 i { color: var(--c-primary); margin-right: 8px; }
.takeaways ul { margin: 0; }
.takeaways li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--c-text-soft);
  font-size: 15.5px;
}
.takeaways li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-weight: 700;
}

.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 36px 0 8px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cta-inline strong { display: block; color: var(--c-navy); font-size: 16.5px; }
.cta-inline p { margin: 4px 0 0; font-size: 14px; color: var(--c-muted); }

.post-nav {
  display: flex;
  gap: 16px;
  margin: 40px 0;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}
.pn-link {
  flex: 1;
  padding: 16px 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--c-text);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pn-link span { display: block; font-size: 12.5px; color: var(--c-muted); margin-bottom: 4px; }
.pn-link:hover { border-color: rgba(37, 99, 235, .45); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pn-next { text-align: right; }
.pn-empty { flex: 1; }

.related { margin-top: 12px; }
.related h2 { font-size: 19px; color: var(--c-navy); margin-bottom: 16px; }
.related ul { display: grid; gap: 10px; }
.related li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.related li:hover { border-color: rgba(37, 99, 235, .4); transform: translateX(3px); }
.related a { display: flex; align-items: center; gap: 10px; color: var(--c-text); }
.rel-cat {
  flex: 0 0 auto;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--c-primary);
  background: rgba(37, 99, 235, .1);
}
.related time { font-size: 12.5px; color: var(--c-muted); flex: 0 0 auto; }
.related-more { margin-top: 18px; font-size: 14.5px; }
.related-more a { color: var(--c-primary); font-weight: 600; }
.related-more a:hover { text-decoration: underline; }

.articles-list-page { padding: calc(var(--header-h) + 44px) 0 72px; }
.page-head { text-align: center; margin-bottom: 36px; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 36px); color: var(--c-navy); margin: 12px 0; }
.page-head p { color: var(--c-muted); max-width: 660px; margin: 0 auto; }
.page-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.filter-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-text-soft);
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: rgba(37, 99, 235, .5); color: var(--c-primary); }
.filter-btn.is-active {
  background: linear-gradient(135deg, var(--c-primary), var(--c-cyan));
  border-color: transparent;
  color: #fff;
}
.list-cta { text-align: center; margin: 40px 0 0; }

.article-cover.has-img { display: block; background: #1b1b20; }
.article-cover.has-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-cover.has-img::after { opacity: .12; }

@media (max-width: 768px) {
  .article-content { font-size: 16px; }
  .post-nav { flex-direction: column; }
  .pn-next { text-align: left; }
  .related li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cta-inline { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-inline .btn { width: 100%; }
}

/* ===========================================================
   响应式断点
   =========================================================== */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 32px; }
  .hero-stats { gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--c-border); font-size: 16px; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 14px; width: 100%; }

  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .platforms { justify-content: center; }
  .platform-list { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-img { max-width: 78%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }

  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .status-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .hero-img { max-width: 100%; }
  .section { padding: 52px 0; }
  .card { padding: 24px 20px; }
  .footer-links { grid-template-columns: 1fr; }
  .cta-inner .btn { width: 100%; }
  .back-to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .back-to-top, .cta-banner, .hero-bg { display: none; }
}

/* ===========================================================
   最新技术文章（深色区块 · 紫粉渐变 #7C5CFF → #B06AB3）
   =========================================================== */
.articles-section {
  background: #0F0F12;
  padding: 80px 0;
  color: #E5E7EB;
}
.articles-section .container { max-width: 1200px; }

.articles-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.articles-badge {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #C4B5FD;
  background: rgba(124, 92, 255, .14);
  border: 1px solid rgba(124, 92, 255, .38);
}
.articles-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px;
}
.articles-subtitle {
  margin: 0;
  font-size: 15.5px;
  color: #9CA3AF;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: #16161A;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 106, 179, .55);
  box-shadow: 0 18px 44px rgba(124, 92, 255, .26);
}
.article-card:focus-within { border-color: rgba(176, 106, 179, .55); }

.article-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #7C5CFF 0%, #B06AB3 100%);
  overflow: hidden;
}
.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .55;
}
.article-cover-icon {
  position: relative;
  z-index: 1;
  font-size: 42px;
  color: rgba(255, 255, 255, .94);
  transition: transform .28s var(--ease);
}
.article-card:hover .article-cover-icon { transform: scale(1.08); }

.article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.article-tag {
  align-self: flex-start;
  padding: 4px 11px;
  margin-bottom: 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #C4B5FD;
  background: rgba(124, 92, 255, .16);
  border: 1px solid rgba(124, 92, 255, .34);
}
.article-card-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #FFFFFF;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-title a { color: inherit; transition: color .2s var(--ease); }
.article-card-title a:hover { color: #C4B5FD; }

.article-summary {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #9CA3AF;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.article-date { font-size: 13px; color: #6B7280; }
.article-more {
  font-size: 13.5px;
  font-weight: 600;
  color: #B06AB3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s var(--ease);
}
.article-more i { transition: transform .22s var(--ease); }
.article-more:hover { color: #C4B5FD; }
.article-more:hover i { transform: translateX(4px); }

/* 加载更多：默认 JS 折叠，无 JS 时 50 篇全部可见（不影响收录） */
.article-card.is-collapsed { display: none; }
.articles-more { margin-top: 32px; text-align: center; }
.btn-purple {
  background: linear-gradient(135deg, #7C5CFF 0%, #B06AB3 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 26px rgba(124, 92, 255, .32);
  font-family: inherit;
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(124, 92, 255, .42); }
.btn[hidden] { display: none; }
.article-card[hidden] { display: none; }
.articles-more { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; text-align: center; }
.btn-outline-purple {
  background: transparent;
  color: #C4B5FD;
  border: 1px solid rgba(196, 181, 253, .5);
  font-family: inherit;
}
.btn-outline-purple:hover { background: rgba(124, 92, 255, .16); color: #fff; transform: translateY(-2px); }

@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .articles-section { padding: 56px 0; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-body { padding: 18px 18px 20px; }
}
