/* ===== MetaVPN 设计系统(token 来自现有 banner/广告素材)===== */
:root {
  --bg1: #F0F4FF;
  --bg2: #E8EDFB;
  --blue: #2360F6;
  --blue-dark: #1a4fd6;
  --navy: #22326D;
  --gray: #606C86;
  --white: #FFFFFF;
  --card: #FFFFFF;
  --line: #E2E8F7;
  --radius: 18px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(34, 50, 109, .08);
  --shadow-lg: 0 20px 50px rgba(34, 50, 109, .14);
  --maxw: 1240px;
  --font-head: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.1; letter-spacing: -.01em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.blue { color: var(--blue); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 900;
  border-radius: var(--radius-pill); padding: 13px 28px; font-size: 16px;
  text-align: center; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
  border: 0; line-height: 1.1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(35, 96, 246, .3); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.btn-lg { padding: 16px 36px; font-size: 18px; }

/* 官方 Google Play 徽章 */
.play-badge { display: inline-block; line-height: 0; transition: transform .12s ease, filter .12s ease; }
.play-badge:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.06); }
.play-badge img { display: block; height: auto; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand:hover { text-decoration: none; }
.brand-logo { border-radius: 8px; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 20px; color: var(--navy); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--navy); font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.site-nav .nav-cta { color: #fff; }
.nav-burger { display: none; }

/* ===== Hero ===== */
.hero { padding: 70px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 52px; }
.hero .lede { font-size: 20px; color: var(--gray); margin: 18px 0 26px; max-width: 30ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 18px; color: var(--gray); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.eyebrow {
  display: inline-block; color: var(--blue); font-weight: 700; letter-spacing: 1.4px;
  font-size: 13px; text-transform: uppercase; margin-bottom: 14px;
}

/* Phone(真实 app 截图,已裁掉政策敏感的定位卡)*/
.phone { justify-self: center; width: 290px; background: var(--navy);
  border-radius: 38px; padding: 13px; box-shadow: var(--shadow-lg); }
.phone-screen { border-radius: 26px; overflow: hidden; background: #fff; aspect-ratio: 1080 / 2397; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* ===== Trust bar ===== */
.trustbar { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar-inner { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 20px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 15px; }

/* check icon */
.ck { width: 22px; height: 22px; flex: 0 0 22px; }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: 36px; }
.section-head p { color: var(--gray); font-size: 18px; margin-top: 12px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.feature .fi { width: 46px; height: 46px; border-radius: 12px; background: rgba(35,96,246,.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--gray); font-size: 15px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); text-align: center; }
.step-num { font-family: var(--font-head); font-weight: 900; color: #fff; background: var(--blue);
  width: 44px; height: 44px; border-radius: var(--radius-pill); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px; font-size: 20px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); text-align: center; position: relative; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 900;
  font-size: 12px; padding: 6px 16px; border-radius: var(--radius-pill); white-space: nowrap; }
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan .plan-tag { color: var(--gray); font-size: 14px; min-height: 40px; }
.plan ul { list-style: none; margin: 18px 0 22px; text-align: left; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15px; color: var(--navy); }
.pricing-note { text-align: center; color: var(--gray); font-size: 14px; margin-top: 20px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { font-family: var(--font-head); font-weight: 900; color: var(--navy); font-size: 17px;
  padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--gray); padding: 0 0 18px; font-size: 15.5px; }

/* CTA band */
.cta-band { margin: 40px 0; }
.cta-inner { background: linear-gradient(135deg, #2a3f8f, var(--navy)); color: #fff;
  border-radius: 24px; text-align: center; padding: 48px 28px; box-shadow: var(--shadow-lg); }
/* 用 .cta-band 前缀提高特异性,避免被博客页 .prose h2/p 覆盖 */
.cta-band .cta-inner h2 { color: #fff; font-size: 30px; margin: 0; }
.cta-band .cta-inner p { color: #c8d2f6; font-size: 17px; margin: 14px auto 24px; max-width: 46ch; }

/* ===== Prose (blog / legal) ===== */
.prose-wrap { padding: 40px 0 8px; }
.prose { max-width: 760px; }
.prose h1 { font-size: 40px; margin-bottom: 8px; }
.prose h2 { font-size: 27px; margin: 38px 0 14px; }
.prose h3 { font-size: 21px; margin: 26px 0 10px; }
.prose p, .prose li { color: #38405e; font-size: 17.5px; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0 14px 22px; }
.prose li { margin: 6px 0; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; background: #fff;
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: 15.5px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: #f3f6ff; font-family: var(--font-head); color: var(--navy); }
.prose blockquote { border-left: 4px solid var(--blue); background: #fff; padding: 14px 18px;
  border-radius: 0 12px 12px 0; margin: 20px 0; color: var(--gray); box-shadow: var(--shadow); }
.post-meta { color: var(--gray); font-size: 14px; margin-bottom: 24px; }
.breadcrumb { font-size: 13px; color: var(--gray); margin-bottom: 18px; }
.breadcrumb span { margin: 0 6px; opacity: .6; }

/* Blog listing */
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; cursor: pointer; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
/* 整卡可点:标题链接拉伸覆盖整张卡(保留真实 <a>,可访问 + SEO 友好)*/
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card h2 a:hover { text-decoration: none; }
.post-card h2 { font-size: 21px; margin-bottom: 8px; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card .excerpt { color: var(--gray); font-size: 15px; }
.post-card .post-meta { margin: 12px 0 0; }
.tag { display: inline-block; background: rgba(35,96,246,.1); color: var(--blue); font-weight: 700;
  font-size: 12px; padding: 4px 11px; border-radius: var(--radius-pill); margin-bottom: 12px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #c8d2f6; margin-top: 60px; }
.site-footer .brand-name { color: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; padding: 40px 0 24px; }
.footer-tag { font-size: 14px; color: #aab6e6; margin-top: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #c8d2f6; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 34px; font-size: 13px; color: #8b99ce; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 40px; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero .phone { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .plans { grid-template-columns: 1fr; }
  .post-list { grid-template-columns: 1fr; }

  /* mobile nav */
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
  .nav-burger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .2s; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column;
    gap: 0; padding: 8px 22px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 12px; border-bottom: 0; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 33px; }
  .section-head h2 { font-size: 28px; }
}
