/* =========================================================
   QuickQ VPN — Wed 版 全站样式（与 Por 版同构）
   ========================================================= */
:root {
  --primary: #2f6bff;
  --primary-dark: #1d4ed8;
  --accent: #7c3aed;
  --grad: linear-gradient(135deg, #2f6bff 0%, #7c3aed 100%);
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --line: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* ---------- 导航栏 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  display: inline-block;
}
.logo b { color: var(--primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(47, 107, 255, 0.45);
}
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-ghost:hover {
  background: rgba(47, 107, 255, 0.06);
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 38px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-disabled {
  background: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(47, 107, 255, 0.12), transparent 60%),
    radial-gradient(800px 420px at 85% 10%, rgba(124, 58, 237, 0.10), transparent 60%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.10);
  color: var(--primary-dark);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* Hero 视觉窗 */
.hero-visual { position: relative; }
.window {
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}
.window-bar span {
  width: 11px; height: 11px; border-radius: 50%;
}
.window-bar span:nth-child(1) { background: #ff5f57; }
.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }
.window-body { padding: 26px 28px; }
.node-list { display: grid; gap: 12px; margin-bottom: 20px; }
.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  font-size: 14px;
  font-weight: 600;
}
.node-item .ping {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16a34a;
  font-size: 12.5px;
  font-weight: 700;
}
.node-item .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.connect-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.35);
  transition: transform 0.2s;
}
.connect-btn:hover { transform: translateY(-2px); }
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.float-chip.c1 { top: -16px; right: -8px; }
.float-chip.c2 { bottom: 24px; left: -24px; animation-delay: 1.6s; }
.float-chip .ic { font-size: 18px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 数据条 ---------- */
.stats {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.sec-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(47, 107, 255, 0.10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.sec-head h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.sec-head p { color: var(--ink-2); font-size: 16px; }

/* ---------- 功能卡片网格 ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(47, 107, 255, 0.35);
}
.card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(47, 107, 255, 0.10);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- 倒计时促销 ---------- */
.promo {
  background: var(--grad);
  color: #fff;
  padding: 70px 0;
}
.promo-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.promo .discount {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px dashed rgba(255, 255, 255, 0.6);
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}
.promo h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.promo p { opacity: 0.92; font-size: 16px; margin-bottom: 26px; }
.countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}
.cd-box {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  padding: 14px 20px;
  min-width: 84px;
  backdrop-filter: blur(4px);
}
.cd-box .num {
  font-size: 32px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cd-box .lab { font-size: 12.5px; opacity: 0.85; margin-top: 6px; }
.promo-tags {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.95;
  margin-bottom: 30px;
}
.promo-tags span::before { content: "✔ "; font-weight: 700; }

/* ---------- 特点卡片（why） ---------- */
.why-card { text-align: center; padding: 34px 22px; }
.why-card .ic {
  margin: 0 auto 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(47, 107, 255, 0.10);
  display: grid;
  place-items: center;
  font-size: 30px;
}

/* ---------- 支付方式 ---------- */
.pay-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.pay-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.2s;
}
.pay-item:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.pay-item .ic { font-size: 18px; }

/* ---------- 底部 CTA ---------- */
.final-cta {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(124, 58, 237, 0.14), transparent 60%),
    var(--ink);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.final-cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.final-cta p { color: #cbd5e1; margin-bottom: 30px; }

/* ---------- 页脚 ---------- */
.footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 44px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
}
.footer-brand p { max-width: 320px; font-size: 14px; margin-top: 12px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col li { margin-bottom: 9px; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

/* =========================================================
   下载页
   ========================================================= */
.page-hero {
  padding: 64px 0 54px;
  text-align: center;
  background:
    radial-gradient(800px 360px at 50% 0%, rgba(47, 107, 255, 0.12), transparent 60%);
}
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--ink-2); font-size: 17px; max-width: 600px; margin: 0 auto; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}
.platform-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: all 0.3s;
}
.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(47, 107, 255, 0.35);
}
.platform-card .pf-ic { font-size: 46px; margin-bottom: 14px; }
.platform-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.platform-card .sys { font-size: 13.5px; color: var(--ink-3); margin-bottom: 20px; }

/* 步骤条 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  text-align: center;
  position: relative;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step .no {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(47, 107, 255, 0.35);
}
.step h4 { font-size: 16.5px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 14px; }
.step .star { color: #f59e0b; font-size: 18px; }

/* =========================================================
   订阅页
   ========================================================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.hot {
  border: 2px solid var(--primary);
  box-shadow: 0 18px 44px rgba(47, 107, 255, 0.18);
}
.hot-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.price-desc { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.price-num { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-num .cur { font-size: 18px; font-weight: 700; }
.price-num .val { font-size: 44px; font-weight: 800; letter-spacing: -1px; }
.price-num .per { font-size: 14px; color: var(--ink-3); }
.price-total { font-size: 13.5px; color: var(--ink-2); margin-bottom: 18px; }
.price-feats { flex: 1; margin-bottom: 24px; }
.price-feats li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 7px 0;
}
.price-feats li::before { content: "✔"; color: #16a34a; font-weight: 700; }
.price-feats li.na { opacity: 0.45; }
.price-feats li.na::before { content: "—"; color: var(--ink-3); }

.refund-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(47, 107, 255, 0.07);
  border: 1px solid rgba(47, 107, 255, 0.2);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 34px;
  color: var(--ink-2);
  font-size: 15px;
}
.refund-note .ic { font-size: 26px; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 900px) {
  .hero .container,
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .platform-grid, .price-grid, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .nav-links { display: none; }
  .hero { padding: 54px 0 48px; }
  .section { padding: 60px 0; }
  .cd-box { min-width: 64px; padding: 10px 12px; }
  .cd-box .num { font-size: 24px; }
}
