/* 快喵VPN 全站样式：仅本地加载，不引用字体、图标或统计脚本 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  background: linear-gradient(145deg, #1a1e24 0%, #0b0e11 100%);
  color: #e5e9f0;
  line-height: 1.7;
  padding: 0 20px;
  min-height: 100vh;
}

/* 冷色背景光，纯 CSS，不加载图片 */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  pointer-events: none;
}

body::before {
  top: -30%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at 30% 40%, rgba(70, 130, 200, 0.15), transparent 70%);
}

body::after {
  bottom: -20%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle at 70% 80%, rgba(40, 80, 140, 0.2), transparent 70%);
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #1f3a5f;
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

/* 导航 */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(100, 130, 180, 0.25);
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #b0c7e4;
  text-decoration: none;
}

.logo span {
  font-weight: 300;
  color: #8aa3c0;
}

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

.nav-links a {
  color: #b8c7da;
  text-decoration: none;
  font-size: 1rem;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #d4e3ff;
  border-bottom-color: #5c8ac0;
}

.nav-links a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: #6c9ed6;
}

.grad {
  color: #d7e6f8;
}

/* 首页主视觉 */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0 20px;
}

.hero h1,
.page-header h1,
.article h1 {
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.25;
  color: #d7e6f8;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 16px;
}

.hero .subtitle,
.page-header p.lead {
  font-size: 1.15rem;
  color: #95aec9;
  max-width: 720px;
}

.hero .subtitle {
  margin-bottom: 28px;
  border-left: 2px solid #3e5a7a;
  padding-left: 20px;
  text-align: left;
}

.page-header {
  text-align: center;
  padding: 48px 0 10px;
}

.page-header h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.page-header p.lead {
  margin: 0 auto;
}

.btn-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1px solid rgba(130, 170, 230, 0.3);
  background: rgba(30, 45, 65, 0.6);
  color: #d0e0f5;
}

.btn-primary {
  background: linear-gradient(135deg, #1f3a5f, #0e1a2b);
  color: #ffffff;
  border-color: #3a6190;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  border-color: #6c9ed6;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(60, 90, 130, 0.5);
  border-color: #7ba2d0;
  color: #ffffff;
}

/* 纯 CSS 插画 */
.css-illustration {
  display: flex;
  justify-content: center;
  margin: 10px 0 24px;
}

.illustration-box {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.shield {
  width: 120px;
  height: 140px;
  background: linear-gradient(150deg, #233b54, #0e1a28);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 2px solid #4976a8;
  position: relative;
}

.shield::before {
  content: "快";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.4rem;
  font-weight: 700;
  color: #b6d6ff;
}

.orbit-ring {
  width: 90px;
  height: 90px;
  border: 2px dashed #3e6390;
  border-radius: 50%;
  position: relative;
}

.orbit-ring::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #7fb2f0;
  border-radius: 50%;
  transform: translateX(-50%);
}

.circuit-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.circuit-lines div {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4976a8, transparent);
}

.circuit-lines div:nth-child(1) { width: 60px; }
.circuit-lines div:nth-child(2) { width: 40px; }
.circuit-lines div:nth-child(3) { width: 80px; }

.trust-badges,
.verify-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
  padding: 20px 0 28px;
  margin: 10px 0 20px;
  border-top: 1px solid rgba(80, 120, 180, 0.2);
  border-bottom: 1px solid rgba(80, 120, 180, 0.2);
}

.trust-item,
.verify-item {
  color: #a2b9d6;
  font-weight: 500;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 36px 0 22px;
  color: #d2e0f0;
  border-left: 4px solid #4976a8;
  padding-left: 18px;
}

.flow-steps,
.guide-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  counter-reset: step;
}

.step,
.guide-step,
.update-card,
.why-item,
.platform-card,
.price-card,
.review-item {
  background: rgba(22, 32, 45, 0.75);
  border: 1px solid #2a3f58;
  border-radius: 20px;
}

.step,
.guide-step {
  flex: 1 1 200px;
  padding: 26px 18px;
  text-align: center;
}

.step::before,
.guide-step::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #7fb2f0;
  margin-bottom: 8px;
}

.step h3,
.guide-step h3,
.why-item h3,
.platform-card h3,
.price-card h3,
.update-card h3 {
  color: #c6d9f0;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step p,
.guide-step p,
.why-item p,
.platform-card p,
.price-card p,
.update-card p,
.review-item p {
  color: #8ea5c0;
  font-size: 0.95rem;
}

.updates-grid,
.why-grid,
.platform-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.update-card,
.why-item,
.platform-card,
.price-card {
  padding: 22px 18px;
}

.update-card time,
.platform-card .meta,
.price-card .meta,
.article time {
  display: block;
  color: #6d8bb0;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.blog-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 20px 0 40px;
}

.blog-list h2,
.reviews-list h2 {
  font-size: 1.4rem;
  color: #c2d6ef;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2e4a68;
}

.blog-item {
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 2px solid #2f5580;
}

.blog-item a {
  color: #b0c9e8;
  text-decoration: none;
  font-weight: 500;
}

.blog-item a:hover,
.blog-item a:focus-visible {
  color: #ffffff;
}

.blog-item time {
  display: block;
  font-size: 0.75rem;
  color: #6d8bb0;
  margin-top: 4px;
}

.review-item {
  padding: 16px 18px;
  margin-bottom: 14px;
}

.stars {
  color: #f3c26b;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.review-item p {
  font-style: italic;
  margin-bottom: 6px;
}

.review-item .user {
  font-size: 0.8rem;
  color: #7f9dc0;
  text-align: right;
}

.why-section,
.primary-download,
.cta-section,
.faq-cta {
  margin: 28px 0;
}

.why-section {
  padding: 32px 24px;
  background: rgba(16, 25, 36, 0.6);
  border-radius: 32px;
  border: 1px solid #273e55;
}

.why-item {
  text-align: center;
  background: transparent;
  border: none;
}

.faq-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(28, 45, 68, 0.7);
  border-radius: 28px;
  padding: 20px 28px;
  border: 1px solid #385a7c;
}

.faq-cta a {
  color: #a8c6f0;
  font-weight: 600;
}

.cta-section {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(120deg, #0e1a28, #192b3f);
  border-radius: 32px;
  border: 1px solid #2f4d6e;
}

.cta-section h2 {
  font-size: 1.8rem;
  color: #d0e2ff;
  margin-bottom: 12px;
}

.cta-section p {
  color: #a2bbd9;
  max-width: 640px;
  margin: 0 auto 20px;
}

.primary-download {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(22, 38, 58, 0.9), rgba(12, 22, 34, 0.95));
  border: 1px solid #2d4b6e;
  border-radius: 28px;
  padding: 32px;
}

.win-version {
  color: #7f9ec2;
  font-size: 0.9rem;
  margin: 6px 0 10px;
}

.win-desc {
  color: #a8bfd8;
  max-width: 520px;
  margin-bottom: 18px;
}

.checksum {
  flex: 1 1 220px;
  background: rgba(12, 22, 34, 0.8);
  border: 1px solid #2a4a6a;
  border-radius: 16px;
  padding: 18px;
  color: #8aa5c4;
  font-size: 0.85rem;
}

.checksum code {
  display: block;
  margin-top: 8px;
  color: #b6d0f0;
  font-family: Consolas, "Courier New", monospace;
  word-break: break-all;
  font-size: 0.75rem;
}

.platform-card .btn,
.price-card .btn {
  margin-top: 8px;
}

.price-card ul,
.article ul,
.article ol {
  margin: 8px 0 16px 1.2em;
  color: #a8bfd8;
}

.price-card li + li,
.article li + li {
  margin-top: 6px;
}

/* 文章与问答 */
.crumb {
  margin-top: 22px;
  color: #7f9dc0;
  font-size: 0.9rem;
}

.crumb a {
  color: #a8c6f0;
  text-decoration: none;
}

.article {
  max-width: 760px;
  padding-bottom: 20px;
}

.article h1 {
  font-size: 2.2rem;
  margin: 18px 0 8px;
}

.article h2 {
  font-size: 1.3rem;
  color: #d2e0f0;
  margin: 26px 0 10px;
}

.article p {
  color: #b7cbe4;
  margin-bottom: 14px;
}

details.qa {
  background: rgba(18, 28, 40, 0.75);
  border: 1px solid #273c52;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

details.qa summary {
  cursor: pointer;
  color: #d2e4f8;
  font-weight: 600;
}

details.qa p {
  margin-top: 10px;
}

footer {
  border-top: 1px solid #263b50;
  padding: 28px 0 20px;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: #6d87a3;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #8ea9c9;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #c2d9ff;
}

@media (max-width: 780px) {
  .blog-reviews {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .page-header h1,
  .article h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 520px) {
  .nav-links {
    gap: 14px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}
