/* PureVPN Official Mirror — Apple-style Design System
   Radical simplicity · generous whitespace · restrained palette
   Palette: Black #000 · White #fff · Apple Gray #f5f5f7 · Apple Blue #0071e3 (light) / #2997ff (on dark) */

:root {
  --color-hero-bg: #000000;
  --color-brand: #0071e3;
  --color-brand-light: #2997ff;
  --color-cta: #0071e3;
  --color-cta-hover: #0077ed;
  --color-surface: #f5f5f7;
  --color-white: #ffffff;
  --color-text: #1d1d1f;
  --color-muted: #6e6e73;
  --color-subtle: #86868b;
  --color-border: #d2d2d7;
  --color-green: #34c759;
  --color-red: #ff3b30;

  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Helvetica, Arial, sans-serif;

  /* Spring physics — every interaction uses silky deceleration curves */
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);

  --radius-badge: 12px;
  --radius-card: 18px;
  --radius-pill-sm: 20px;
  --radius-pill-md: 30px;
  --radius-pill-lg: 40px;
  --radius-pill-xl: 45px;
  --radius-pill-full: 980px;

  /* Subtle shadows — elevation without shouting */
  --shadow-card: 0 4px 12px rgba(0,0,0,.08);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,.12);
  --shadow-panel: 0 24px 60px rgba(0,0,0,.4);
  --shadow-dropdown: 0 16px 40px rgba(0,0,0,.4);

  --header-h: 72px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Icons ──
   Apple 式线性图标制式：细描边、恒定视觉粗细（不随尺寸放大变粗）、圆润端点 */
svg[stroke="currentColor"] {
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}
svg[stroke="currentColor"] > * { vector-effect: non-scaling-stroke; }

/* ── Layout ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
/* 栅格子项默认 min-width:auto，长词/宽表格会撑破栅格并引发整页横向溢出 */
.container > *, .hero-inner > *, .img-section-grid > *, .two-col-grid > *,
.features-grid > *, .pricing-grid > *, .support-grid > *, .testimonials-grid > *,
.platform-grid > *, .footer-grid > *, .stats-inner > * { min-width: 0; }
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--color-hero-bg); color: var(--color-white); }
.section-surface { background: var(--color-surface); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-pill-full); font-family: var(--font-display);
  font-size: 16px; font-weight: 500; letter-spacing: -0.2px; cursor: pointer;
  border: 1px solid transparent; transition: all .4s var(--ease-apple); white-space: nowrap;
}
.btn-primary {
  background: var(--color-cta); color: var(--color-white);
}
.btn-primary:hover { background: var(--color-cta-hover); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--color-white); border-color: rgba(255,255,255,.4);
}
.btn-secondary:hover { border-color: var(--color-white); background: rgba(255,255,255,.1); }
.btn-purple {
  background: var(--color-brand); color: var(--color-white);
}
.btn-purple:hover { background: var(--color-cta-hover); transform: translateY(-1px); }
.btn-outline-dark {
  background: transparent; color: var(--color-text); border-color: var(--color-border);
}
.btn-outline-dark:hover { border-color: var(--color-brand); color: var(--color-brand); }
.btn-lg { padding: 16px 36px; font-size: 18px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(0,0,0,.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  height: var(--header-h);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 20px;
}
.logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
/* 品牌紫 → Apple 蓝的色相映射；白色字标与透明区域不受影响 */
.logo-wrap img { height: 44px; width: auto; filter: hue-rotate(-48deg) saturate(1.1); }

.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav-links > a {
  color: rgba(255,255,255,.78); font-size: 14px; font-weight: 400; padding: 9px 14px;
  border-radius: var(--radius-badge); transition: color .25s var(--ease-apple), background .25s var(--ease-apple); white-space: nowrap;
}
.nav-links > a:hover, .nav-links > a.active { color: var(--color-white); background: rgba(255,255,255,.08); }

/* Mobile nav panel — always hidden until JS opens it */
.mobile-nav { display: none; }

.header-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

/* Language switcher */
.lang-switcher {
  display: flex; align-items: center; gap: 2px; padding: 2px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
}
.lang-switcher a {
  color: rgba(255,255,255,.62); font-size: 12px; font-weight: 500; padding: 3px 10px; line-height: 1.7;
  border-radius: 999px; border: 0;
  font-family: var(--font-display); letter-spacing: .02em;
  transition: color .25s var(--ease-apple), background .25s var(--ease-apple);
}
.lang-switcher a:hover { color: var(--color-white); background: rgba(255,255,255,.08); }
.lang-switcher a.active { color: var(--color-white); background: rgba(255,255,255,.18); }
.lang-divider { display: none; }

/* ── Apps dropdown ── */
.nav-dropdown { position: relative; }
.nav-dropdown > .dropdown-toggle {
  color: rgba(255,255,255,.78); font-size: 14px; font-weight: 400; padding: 9px 14px;
  border-radius: var(--radius-badge); transition: color .25s var(--ease-apple), background .25s var(--ease-apple);
  cursor: pointer; display: flex; align-items: center; gap: 4px; user-select: none;
  background: none; border: 0; white-space: nowrap; line-height: 1.6;
}
.nav-dropdown > .dropdown-toggle::after {
  content: '▾'; font-size: 10px; opacity: .6; transition: transform .4s var(--ease-apple);
}
.nav-dropdown:hover > .dropdown-toggle,
.nav-dropdown.open > .dropdown-toggle {
  color: var(--color-white); background: rgba(255,255,255,.1);
}
.nav-dropdown.open > .dropdown-toggle::after { transform: rotate(180deg); }

.dropdown-menu {
  /* top:100% with inner padding-top bridges the gap so hover never leaves .nav-dropdown */
  display: none; position: absolute; top: 100%; left: 0;
  background: rgba(0,0,0,.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card); padding: 8px 8px 8px; padding-top: 12px;
  min-width: 200px; box-shadow: var(--shadow-dropdown); z-index: 1100;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  color: rgba(255,255,255,.8); font-size: 14px; border-radius: var(--radius-badge);
  transition: background .3s var(--ease-apple), color .3s var(--ease-apple);
}
.dropdown-menu a:hover { background: rgba(255,255,255,.1); color: var(--color-white); }
.dropdown-menu a .dm-icon { font-size: 16px; width: 20px; text-align: center; }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: 0; color: var(--color-white);
  font-size: 28px; cursor: pointer; padding: 4px; line-height: 1; flex-shrink: 0;
}

/* ── Hero ── */
.hero {
  background: var(--color-hero-bg);
  color: var(--color-white); padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
/* 首页 hero：左文案 + 右数据面板 */
.hero-inner.hero-single { grid-template-columns: 1.05fr .95fr; max-width: none; }
.hero-copy { min-width: 0; }
.hero-badge-dot { width: 8px; height: 8px; background: var(--color-red); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.hero h1 {
  font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1.15;
  letter-spacing: -1.2px; margin-bottom: 20px; text-wrap: balance;
}
.hero h1 span { color: var(--color-brand-light); white-space: nowrap; }
.hero-sub { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.72); margin-bottom: 36px; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.65); }
.hero-trust-item svg { flex-shrink: 0; }
.hero-img { border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.hero-img img { width: 100%; height: 400px; object-fit: cover; }
/* hero 插画：黑底与 hero 融为一体；cover 从左侧取景，裁掉生成图右下角水印区域；
   径向蒙版必须在到达容器边缘前完全淡出（transparent ≤ 100%），否则图片深灰底色
   会在纯黑页面上露出矩形接缝；地球本体保持在实心区内 */
.hero-media {
  box-shadow: none;
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at 52% 50%, #000 48%, transparent 67%);
  mask-image: radial-gradient(ellipse 68% 72% at 52% 50%, #000 48%, transparent 67%);
}
.hero-media img {
  object-position: left center;
  transform: translateX(30px) scale(1.06);
  transform-origin: 48% 50%;
}
/* ── Hero 底部数据条：图标在前、数字在后同行 ── */
.hero:has(.stats-bar) { padding-bottom: 0; }
.hero .stat-item { display: flex; align-items: center; justify-content: center; gap: 6px; }
/* 数字取 logo 蓝（hue-rotate 后浅环主色 #1888d8） */
.hero .stat-num { font-size: 24px; letter-spacing: -0.4px; color: #1888d8; }
.stat-ico {
  display: flex; justify-content: center;
  color: rgba(255,255,255,.45);
}
.stat-ico svg { display: block; width: 26px; height: 26px; }

/* ── Hero 右侧防护面板（无配图，纯图标+文字卡片）── */
.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-card);
  padding: 24px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-panel);
}
.hero-panel-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .3px;
  color: var(--color-white); padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-panel-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--color-green);
  box-shadow: 0 0 0 4px rgba(52,199,89,.18); animation: pulse 2s infinite;
}
.hero-panel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.hero-panel-item { display: flex; align-items: center; gap: 14px; }
.hero-panel-icon {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(41,151,255,.15); color: var(--color-brand-light); border: 1px solid rgba(41,151,255,.3);
}
.hero-panel-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-panel-text strong { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--color-white); }
.hero-panel-text span { font-size: 13px; color: rgba(255,255,255,.6); }
.hero-panel-foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.7);
}
.hero-panel-foot .ic { color: var(--color-green); flex-shrink: 0; }

/* ── Stats bar ── */
.stats-bar { background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,255,255,.1); padding: 30px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--color-white); letter-spacing: -1px; display: block; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ── Section headings ── */
.section-tag {
  display: inline-block; padding: 6px 14px; background: rgba(0,113,227,.1); color: var(--color-brand);
  border-radius: var(--radius-badge); font-size: 13px; font-weight: 600; font-family: var(--font-display);
  letter-spacing: -0.28px; margin-bottom: 16px;
}
.section-tag-white {
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
}
.section-dark .section-tag:not(.section-tag-white) {
  background: rgba(41,151,255,.15); color: var(--color-brand-light);
}
h2.section-title {
  font-family: var(--font-body); font-size: 40px; font-weight: 600; line-height: 1.14;
  letter-spacing: -0.5px; margin-bottom: 16px; text-wrap: balance;
}
h2.section-title-lg {
  font-size: 44px; font-weight: 700; font-family: var(--font-display); letter-spacing: -0.8px;
}
.section-desc { font-size: 18px; color: var(--color-muted); line-height: 1.6; max-width: 600px; }
.section-desc-white { color: rgba(255,255,255,.7); }
.section-head { margin-bottom: 60px; }
.section-head-center { text-align: center; }
.section-head-center .section-desc { margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--color-white); border: 1px solid transparent;
  border-radius: var(--radius-card); padding: 32px 28px; box-shadow: var(--shadow-card);
  transition: box-shadow .4s var(--ease-apple), transform .4s var(--ease-apple);
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.card-dark {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: var(--color-white);
}
.card-icon { width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--color-brand); }
.card-icon-purple {
  background: rgba(0,113,227,.07); color: var(--color-brand);
  box-shadow: inset 0 0 0 1px rgba(0,113,227,.12);
}
.card-icon svg { flex-shrink: 0; width: 22px; height: 22px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.3px; }
.card p { font-size: 16px; color: var(--color-muted); line-height: 1.6; }
.card-dark p { color: rgba(255,255,255,.65); }

/* ── Features grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.platform-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.plan-card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: 36px 28px;
  transition: all .4s var(--ease-apple);
}
.plan-card.featured {
  border-color: var(--color-brand); box-shadow: var(--shadow-card-hover);
  transform: scale(1.03);
}
.plan-badge {
  display: inline-block; padding: 4px 12px; background: var(--color-brand);
  color: var(--color-white); border-radius: var(--radius-badge); font-size: 12px;
  font-weight: 600; margin-bottom: 16px; font-family: var(--font-display);
}
.plan-name { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.plan-price { font-family: var(--font-display); font-size: 48px; font-weight: 700; letter-spacing: -1px; color: var(--color-text); }
.plan-price sup { font-size: 24px; font-weight: 600; vertical-align: super; }
.plan-price span { font-size: 16px; font-weight: 400; color: var(--color-muted); }
.plan-period { font-size: 14px; color: var(--color-muted); margin-bottom: 8px; }
.plan-saving { font-size: 13px; font-weight: 600; color: var(--color-brand); margin-bottom: 24px; }
.plan-divider { border: 0; border-top: 1px solid var(--color-border); margin: 20px 0; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; padding: 6px 0; }
.check-icon { width: 18px; height: 18px; background: var(--color-brand); border-radius: 50%; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; }
.check-icon::after { content: '✓'; color: white; font-size: 10px; font-weight: 700; }

/* ── Servers ── */
.server-img-wrap { border-radius: var(--radius-card); overflow: hidden; }
.server-img-wrap img { width: 100%; height: 320px; object-fit: cover; }
.regions-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.region-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card); padding: 20px; text-align: center; color: var(--color-white);
  transition: background .4s var(--ease-apple), border-color .4s var(--ease-apple);
}
.region-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.region-flag { font-size: 32px; margin-bottom: 10px; }
.region-name { font-size: 15px; font-weight: 600; }
.region-count { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ── Trust logos ── */
.trust-logos { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: center; }
.trust-logo { font-size: 20px; font-weight: 700; color: var(--color-subtle); font-family: var(--font-display); opacity: .7; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card { background: var(--color-white); border: 1px solid transparent; border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-card); }
.stars { color: #ff9500; font-size: 18px; margin-bottom: 12px; }
.testimonial-text { font-size: 16px; line-height: 1.6; color: var(--color-text); margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--color-brand); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.author-name { font-size: 14px; font-weight: 600; }
.author-role { font-size: 13px; color: var(--color-muted); }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 17px; font-weight: 500; cursor: pointer;
  gap: 16px; background: none; border: 0; width: 100%; text-align: left; color: var(--color-text);
}
.faq-q:hover { color: var(--color-brand); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--color-surface); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform .4s var(--ease-apple); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { font-size: 16px; color: var(--color-muted); line-height: 1.7; padding-bottom: 20px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--color-hero-bg);
  color: var(--color-white); padding: 80px 0 70px; position: relative; overflow: hidden;
}
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.page-hero-copy { min-width: 0; }
.page-hero h1 { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.18; text-wrap: balance; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.72); line-height: 1.6; margin-bottom: 32px; }

/* ── 内页要点卡 ── */
.page-points {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-card); padding: 22px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.page-points-title {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.page-points-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.page-points-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.72); }
.page-points-item .ic { flex-shrink: 0; margin-top: 2px; color: var(--color-brand-light); }
.page-points-item strong { color: var(--color-white); font-weight: 600; }

/* ── CTA 按钮组（获取 + 下载）── */
.page-hero-actions,
.cta-strip-actions,
.section-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.section-cta-row { margin-top: 28px; }

/* ── Platform card ── */
.platform-card {
  background: var(--color-white); border: 1px solid transparent; border-radius: var(--radius-card);
  padding: 32px 24px; text-align: center; box-shadow: var(--shadow-card);
  transition: all .4s var(--ease-apple);
}
.platform-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.platform-icon { display: flex; justify-content: center; align-items: center; margin-bottom: 14px; color: var(--color-brand); }
.platform-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; text-align: center; }
.platform-card p { font-size: 14px; color: var(--color-muted); margin-bottom: 16px; text-align: center; }

/* ── Support ── */
.support-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.support-card { border: 1px solid transparent; border-radius: var(--radius-card); padding: 32px 24px; text-align: center; background: var(--color-white); box-shadow: var(--shadow-card); transition: all .4s var(--ease-apple); }
.support-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.support-icon { font-size: 40px; margin-bottom: 16px; }
.support-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.support-card p { font-size: 15px; color: var(--color-muted); line-height: 1.6; margin-bottom: 20px; }

/* ── Download page ── */
.download-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.dl-card { background: var(--color-white); border: 1px solid transparent; border-radius: var(--radius-card); padding: 36px 28px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; box-shadow: var(--shadow-card); }
.dl-platform-icon { display: flex; justify-content: center; align-items: center; color: var(--color-brand); }
.dl-card h3 { font-size: 22px; font-weight: 600; }
.dl-card p { font-size: 15px; color: var(--color-muted); flex: 1; }
.dl-meta { font-size: 13px; color: var(--color-muted); }

/* ── Image sections ── */
.img-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.img-rounded { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.img-rounded img { width: 100%; height: 340px; object-fit: cover; }

/* 单列内容区块（无配图时使用） */
.section-block { max-width: 100%; }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb-sep { opacity: .4; }

/* ── Banner/CTA strip ── */
.cta-strip {
  background: var(--color-hero-bg);
  padding: 64px 0; color: var(--color-white);
}
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-strip h2 { font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.5px; }
.cta-strip p { font-size: 16px; opacity: .8; margin-top: 8px; }

/* ── Footer ── */
.site-footer {
  background: var(--color-hero-bg); color: rgba(255,255,255,.65);
  padding: 64px 0 28px; border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.75fr) repeat(4, minmax(0, .8fr));
  gap: 40px 32px; margin-bottom: 44px;
}
.footer-brand img { height: 36px; width: auto; }
.footer-brand p {
  font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.52);
  margin-top: 14px; max-width: 300px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.38); margin-bottom: 14px; font-family: var(--font-display);
}
.footer-col ul li { margin-bottom: 0; }
.footer-col ul li + li { margin-top: 10px; }
.footer-col ul li a { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.62); transition: color .3s var(--ease-apple); }
.footer-col ul li a:hover { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.42); }
.footer-lang { display: flex; align-items: center; }
.footer-lang .lang-switcher {
  gap: 2px; padding: 3px; border-radius: var(--radius-badge);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
}
.footer-lang .lang-switcher a { font-size: 12px; padding: 3px 10px; border: 0; color: rgba(255,255,255,.6); }
.footer-lang .lang-switcher a:hover { background: rgba(255,255,255,.08); color: var(--color-white); border-color: transparent; }
.footer-lang .lang-switcher a.active { background: rgba(255,255,255,.12); color: var(--color-white); border-color: transparent; }
.footer-lang .lang-divider { display: none; }

/* ── Guarantee badge ── */
.guarantee-wrap { display: flex; align-items: center; gap: 16px; }
.guarantee-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(0,113,227,.1); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; color: var(--color-brand); }
.guarantee-text h4 { font-size: 16px; font-weight: 600; color: var(--color-text); }
.guarantee-text p { font-size: 14px; color: var(--color-muted); }
.ic { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.ic svg { display: block; }
.star-row { display: inline-flex; gap: 2px; color: #ff9500; vertical-align: middle; }

/* ── Encryption badge row ── */
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.enc-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill-full); font-size: 12px; color: rgba(255,255,255,.82);
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.1px;
}

/* ── Legal / policy pages ── */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; font-weight: 600; margin: 36px 0 14px; letter-spacing: -0.2px; }
.legal-content h3 { font-size: 17px; font-weight: 600; margin: 24px 0 10px; }
.legal-content p { font-size: 16px; color: var(--color-muted); line-height: 1.8; margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin: 0 0 18px 22px; padding: 0; }
.legal-content li { list-style: disc; font-size: 16px; color: var(--color-muted); line-height: 1.8; margin-bottom: 8px; }
.legal-content ol li { list-style: decimal; }
.legal-content a { color: var(--color-brand); text-decoration: underline; }
.legal-updated { font-size: 14px; color: var(--color-subtle); margin-bottom: 10px; }
.legal-summary { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px 24px; margin-bottom: 34px; }
.legal-summary p { margin: 0; font-size: 15px; }

/* ── Comparison table ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 15px; }
.compare-table th { background: var(--color-white); font-weight: 600; font-size: 14px; color: var(--color-text); }
.compare-table tbody tr:hover { background: rgba(0,113,227,.04); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .yes { color: var(--color-green); font-weight: 600; }
.compare-table .no { color: var(--color-muted); }

/* ── Protocol table ── */
.protocols-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.protocol-item { padding: 16px 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-card); transition: background .4s var(--ease-apple), border-color .4s var(--ease-apple); }
.protocol-item:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.protocol-name { font-weight: 600; color: var(--color-white); margin-bottom: 4px; }
.protocol-desc { font-size: 13px; color: rgba(255,255,255,.55); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .protocols-list { grid-template-columns: repeat(2,1fr); }
  /* 双栏 hero 在平板下堆叠，避免右列过窄 */
  .hero-inner, .hero-inner.hero-single, .page-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-panel, .page-points { max-width: 560px; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Hide desktop nav on mobile */
  .nav-links { display: none !important; }
  .header-right { display: none !important; }

  /* Show hamburger on mobile */
  .nav-toggle { display: flex !important; align-items: center; justify-content: center; }

  /* ── Mobile nav panel ── */
  /* Positioned OUTSIDE the header so it's in root stacking context */
  .mobile-nav {
    display: none;
    position: fixed;
    /* Use 100vw (visual viewport) NOT right:0 (ICB) — prevents wide-menu bug
       on pages where a min-width table expands the ICB beyond the viewport */
    top: var(--header-h); left: 0; width: 100vw;
    max-height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch;
    background: #000000;
    overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 9999;
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 12px 40px rgba(0,0,0,.55);
  }
  .mobile-nav.open { display: flex; }

  /* Mobile links */
  .mob-link {
    display: block; color: rgba(255,255,255,.9); font-size: 17px;
    font-family: var(--font-display); font-weight: 500;
    padding: 18px 24px; text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .3s var(--ease-apple);
  }
  .mob-link:hover, .mob-link:active { background: rgba(255,255,255,.07); }

  /* Mobile Apps dropdown */
  .mob-section, .mob-dropdown { border-bottom: 1px solid rgba(255,255,255,.06); }
  .mob-dropdown-btn {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
    color: rgba(255,255,255,.9); font-size: 17px; font-family: var(--font-display); font-weight: 500;
    padding: 18px 24px; background: none; border: none; cursor: pointer;
    touch-action: manipulation;
  }
  .mob-dropdown-btn:hover, .mob-dropdown-btn:active { background: rgba(255,255,255,.07); }
  .mob-chevron { font-size: 12px; opacity: .6; transition: transform .4s var(--ease-apple); }
  .mob-dropdown.open .mob-chevron { transform: rotate(180deg); }
  .mob-dropdown-items { display: none; background: rgba(255,255,255,.04); }
  .mob-dropdown.open .mob-dropdown-items { display: block; }
  .mob-sub-link {
    display: block; color: rgba(255,255,255,.8); font-size: 16px;
    padding: 14px 24px; text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: background .3s var(--ease-apple);
  }
  .mob-sub-link:hover, .mob-sub-link:active { background: rgba(255,255,255,.1); }

  /* Mobile lang switcher */
  .mob-lang {
    display: flex; justify-content: center; padding: 20px 0;
    margin-top: 8px; border-top: 1px solid rgba(255,255,255,.12);
  }
  .mob-lang .lang-switcher { padding: 3px; }
  .mob-lang .lang-switcher a { font-size: 15px; padding: 6px 18px; }

  /* Mobile CTA */
  .mob-cta { padding: 16px 24px 24px; display: flex; }
  .mob-cta .btn { width: 100%; justify-content: center; font-size: 16px; }

  .hero { padding: 60px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 34px; }
  .hero-img { order: -1; }
  .hero-img img { height: 260px; }
  /* 移动端单列布局：用百分比位移让地球在不同宽度下都居中 */
  .hero-media img { transform: translateX(15%) scale(1.06); }

  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .section { padding: 64px 0; }
  h2.section-title { font-size: 28px; }
  h2.section-title-lg { font-size: 30px; }

  .features-grid,
  .platform-grid,
  .testimonials-grid,
  .support-grid,
  .pricing-grid,
  .regions-grid,
  .protocols-list { grid-template-columns: 1fr; }
  .two-col-grid,
  .img-section-grid,
  .download-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }

  /* 移动端图片按原始比例自适应，避免固定高度裁切 */
  .img-rounded img { height: auto; aspect-ratio: 560 / 340; }
  /* 移动端表格：压缩内边距，保留横向滚动 */
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 14px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-strip-inner { flex-direction: column; text-align: center; }

  .page-hero h1 { font-size: 30px; }
  .page-hero { padding: 60px 0 50px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  /* 极窄屏：图片内容宽于容器，位移需更小才能让地球居中 */
  .hero-media img { transform: translateX(3%) scale(1.06); }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .site-footer { padding: 52px 0 24px; }
  .btn-lg { padding: 16px 28px; font-size: 16px; }

  /* 移动端按钮组纵向堆叠 */
  .page-hero-actions,
  .cta-strip-actions,
  .section-cta-row { flex-direction: column; align-items: stretch; }
  .page-hero-actions .btn,
  .cta-strip-actions .btn,
  .section-cta-row .btn { justify-content: center; }
}

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 40px; }
.blog-card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .3s var(--ease-apple), transform .3s var(--ease-apple);
}
.blog-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.blog-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-surface); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--color-brand); text-transform: uppercase; }
.blog-card-title { font-size: 19px; line-height: 1.45; font-weight: 600; }
.blog-card-desc { font-size: 14px; color: var(--color-muted); flex: 1; }
.blog-card-meta { font-size: 13px; color: var(--color-subtle); }

.article-body { max-width: 760px; margin: 0 auto; line-height: 1.8; font-size: 16.5px; }
.article-body p { margin: 0 0 20px; }
.article-body h2 { font-size: 26px; line-height: 1.35; margin: 44px 0 16px; }
.article-body h3 { font-size: 20px; line-height: 1.4; margin: 32px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }
.article-body img { border-radius: var(--radius-card); margin: 28px auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--color-subtle); font-size: 14px; margin: 14px 0 32px; }
.toc { background: var(--color-surface); border-radius: var(--radius-card); padding: 24px 28px; margin: 0 0 36px; }
.toc-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 6px 0; }
.toc a { font-size: 15px; color: var(--color-text); }
.toc a:hover { color: var(--color-brand); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.article-nav a { display: block; border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px 24px; transition: box-shadow .3s var(--ease-apple); }
.article-nav a:hover { box-shadow: var(--shadow-card-hover); }
.article-nav .an-label { display: block; font-size: 12px; color: var(--color-subtle); margin-bottom: 6px; }
.article-nav .an-title { font-size: 16px; font-weight: 600; color: var(--color-text); }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-body h2 { font-size: 22px; }
  .article-body h3 { font-size: 18px; }
  .article-nav { grid-template-columns: 1fr; }
}
