/* ==========================================================
   v2rayN 下载站 (v2rayn-pc.com.cn) — 主题样式
   Bing GEO 2026 落地模板
   ========================================================== */
:root {
  --primary: #2b6ef3;
  --primary-dark: #1e4fd0;
  --accent: #17c3e6;
  --bg: #f5f7fb;
  --bg-dark: #0b1526;
  --bg-card: #ffffff;
  --text: #1c2333;
  --text-muted: #5b6472;
  --border: #e3e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 34, 74, 0.08);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand b { color: var(--primary); }

.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--text-muted); font-size: 15px; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.site-nav a.active { position: relative; }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.header-cta {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.header-cta:hover { background: var(--primary-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(43, 110, 243, 0.16), transparent 60%),
    radial-gradient(700px 380px at 0% 10%, rgba(23, 195, 230, 0.14), transparent 55%),
    var(--bg-dark);
  color: #fff;
  padding: 84px 0 76px;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 .brand-gradient {
  display: inline-block;
  background: linear-gradient(90deg, #4aa8ff, #c85bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .brand-sub {
  display: block;
  font-size: 0.78em;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.18em;
}
.hero .lead {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(43, 110, 243, 0.35); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.hero-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
}
.stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 22px;
  min-width: 140px;
}
.stat b { display: block; font-size: 22px; color: var(--accent); }
.stat span { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

/* ---------- Section ---------- */
.section { padding: 68px 0; }
.section-alt { background: #fff; }

.section-head { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(43, 110, 243, 0.08);
  border: 1px solid rgba(43, 110, 243, 0.18);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.35; }
.section-head p { margin-top: 12px; color: var(--text-muted); font-size: 15.5px; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(43, 110, 243, 0.1);
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
table.cmp { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
table.cmp thead th { background: var(--bg-dark); color: #fff; font-weight: 600; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody td:first-child { font-weight: 600; color: var(--text-muted); }
table.cmp tbody tr.hl td { background: rgba(43, 110, 243, 0.05); }
table.cmp .ok { color: #16a34a; font-weight: 600; }
table.cmp .no { color: #b45309; font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.testimonial .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial blockquote { font-size: 15px; color: var(--text); margin-bottom: 14px; }
.testimonial .who { font-size: 13.5px; color: var(--text-muted); }
.testimonial .who b { color: var(--text); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-muted); font-weight: 600; }
.trust-item .badge {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(23, 195, 230, 0.14);
  color: #0e9cc0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 18px; color: var(--text-muted); font-size: 14.5px; }

/* ---------- Download page ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.platform-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}
.platform-card:hover { transform: translateY(-4px); }
.platform-card .os-icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: rgba(43, 110, 243, 0.1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800;
}
.platform-card h3 { font-size: 16px; margin-bottom: 4px; }
.platform-card .ver { font-size: 12.5px; color: var(--text-muted); margin-bottom: 12px; }
.platform-card .dl {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.platform-card .dl:hover { background: var(--primary-dark); color: #fff; }

.steps { max-width: 820px; margin: 0 auto; counter-reset: step; }
.step {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.step .num {
  counter-increment: step;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(43, 110, 243, 0.1);
  color: var(--primary);
  font-weight: 800;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 14.5px; color: var(--text-muted); }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.spec {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.spec h3 { font-size: 15px; color: var(--text-muted); font-weight: 600; margin-bottom: 8px; }
.spec p { font-size: 15.5px; font-weight: 700; }

/* ---------- News page ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}
.news-card:hover { transform: translateY(-4px); }
.news-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(43, 110, 243, 0.08);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.news-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.news-card h3 a { color: var(--text); }
.news-card h3 a:hover { color: var(--primary); }
.news-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.news-card .meta { font-size: 12.5px; color: #98a1af; }

.tag-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.tag-filter a {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13.5px;
  color: var(--text-muted);
}
.tag-filter a:hover, .tag-filter a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.sidebar { position: sticky; top: 84px; }
.side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.side-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.hot-list { list-style: none; counter-reset: hot; }
.hot-list li {
  counter-increment: hot;
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  align-items: baseline;
}
.hot-list li:last-child { border-bottom: none; }
.hot-list li::before {
  content: counter(hot, decimal-leading-zero);
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
}
.hot-list a { font-size: 14px; color: var(--text); line-height: 1.5; }
.hot-list a:hover { color: var(--primary); }
.hot-list .views { display: block; font-size: 12px; color: #98a1af; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, var(--accent));
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: 0.9; margin-bottom: 26px; font-size: 15.5px; }
.cta-band .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15); }
.cta-band .btn-primary:hover { background: #eef3ff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255, 255, 255, 0.72); padding: 44px 0 28px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-cols h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-cols a { display: block; color: rgba(255, 255, 255, 0.72); font-size: 14px; padding: 4px 0; }
.footer-cols a:hover { color: #fff; }
.footer-brand { font-weight: 700; color: #fff; font-size: 17px; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .site-nav { display: none; }
  .feature-grid, .testimonial-grid, .news-grid, .platform-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { padding: 56px 0 52px; }
}

/* ---------- Article pages ---------- */
.article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px 46px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}
.article h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.35; margin: 12px 0 6px; }
.article .article-meta { font-size: 13.5px; color: var(--text-muted); margin-bottom: 26px; }
.article .article-meta a { color: var(--text-muted); text-decoration: underline; }
.article h2 { font-size: 21px; font-weight: 700; margin: 34px 0 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.article h2:first-of-type { border-top: none; }
.article p { margin-bottom: 14px; font-size: 15.5px; }
.article ul, .article ol { margin: 0 0 16px 22px; font-size: 15.5px; }
.article li { margin-bottom: 8px; }
.article blockquote {
  border-left: 4px solid var(--primary);
  background: #f2f6ff;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 18px 0;
  color: #3a4a66;
  font-size: 14.5px;
}
.article .article-cta {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 26px 20px;
  margin-top: 30px;
}
.article .article-cta h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.article .article-cta p { color: rgba(255, 255, 255, 0.9); font-size: 14px; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
@media (max-width: 900px) { .article { padding: 30px 22px; } .related-grid { grid-template-columns: 1fr; } }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; color: #b6beca; }
.error-page { text-align: center; padding: 80px 20px; }
.error-page .code { font-size: 72px; font-weight: 800; color: var(--primary); line-height: 1; }
.error-page p { color: var(--text-muted); margin: 14px 0 24px; }
