/* 快连官网 - 跨国专线VPN - 共享样式 */
:root {
  --primary: #0f6fff;
  --primary-dark: #0848b8;
  --accent: #00d4ff;
  --bg: #ffffff;
  --bg-alt: #f5f8ff;
  --text: #0b1f3a;
  --muted: #5a6b85;
  --border: #e3e9f5;
  --radius: 10px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, 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 { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Nav */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.navbar-logo { font-weight: 700; font-size: 20px; color: var(--text); }
.navbar-logo span { color: var(--primary); margin-right: 6px; }
.navbar-links { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; }
.navbar-links a { color: var(--text); font-size: 15px; }
.navbar-links a.active { color: var(--primary); font-weight: 600; }
.navbar-cta { background: var(--primary); color: #fff !important; padding: 8px 14px; border-radius: 8px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0a2a6b 0%, #0f6fff 60%, #00d4ff 120%);
  color: #fff; padding: 80px 20px 90px;
}
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.2; margin: 0 0 18px; }
.hero .subtitle { font-size: 18px; opacity: .92; margin: 0 0 28px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-white { background: #fff; color: var(--primary); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-large { padding: 14px 28px; font-size: 16px; }
.hero-trust { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; opacity: .95; }
.hero-visual {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px; padding: 22px;
}
.hero-stat { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.25); font-size: 14px; }
.hero-stat:last-child { border-bottom: none; }
.hero-stat b { font-size: 18px; }

/* Sections */
.section { padding: 70px 20px; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 30px; margin: 0 0 12px; text-align: center; }
.section-desc { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 720px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 24px; }
}

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 10px 30px rgba(15,111,255,0.08); transform: translateY(-2px); }
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.icon-box {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(15,111,255,0.1); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 12px;
}

/* Scenario list */
.scenario { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.scenario h4 { margin: 0 0 6px; font-size: 16px; }
.scenario p { margin: 0; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 17px; color: var(--text); }
.faq-item p { margin: 0; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; }
.step {
  position: relative; padding: 14px 14px 14px 56px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 14px;
}
.step:before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 14px; top: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.step h4 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Platform download */
.platform { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.platform .pname { font-weight: 600; }
.platform .pmeta { color: var(--muted); font-size: 13px; }
.platform .pversion { color: #2a8a3a; font-size: 12px; margin-top: 2px; }
.platform .pbtn { margin-left: auto; }

/* Pricing */
.price { font-size: 32px; font-weight: 700; color: var(--text); margin: 8px 0 14px; }
.price span { font-size: 14px; color: var(--muted); font-weight: 400; }
.card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.card li { padding: 4px 0; color: var(--muted); font-size: 14px; }
.card-featured { position: relative; border: 2px solid var(--primary); }
.badge { position: absolute; top: -10px; right: 14px; background: var(--primary); color: #fff; padding: 2px 10px; border-radius: 12px; font-size: 12px; }

/* Card link */
.card-link { margin-top: 10px !important; font-size: 14px; }
.card-link a { color: var(--primary); font-weight: 600; }

/* FAQ Nine (Steps) */
.faq-nine { display: flex; flex-direction: column; gap: 12px; }
.faq-detail {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0; transition: box-shadow .2s ease;
}
.faq-detail:hover { box-shadow: 0 6px 18px rgba(15,111,255,0.06); }
.faq-detail summary {
  padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 16px;
  list-style: none; position: relative; color: var(--text);
}
.faq-detail summary::-webkit-details-marker { display: none; }
.faq-detail summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--primary); font-weight: 400; transition: transform .2s ease;
}
.faq-detail[open] summary::after { content: '−'; }
.faq-detail[open] { box-shadow: 0 4px 16px rgba(15,111,255,0.08); }
.faq-answer { padding: 0 20px 18px; border-top: 1px solid var(--border); }
.faq-answer p { margin: 10px 0; color: var(--text); font-size: 15px; }
.faq-answer code { background: #f0f4ff; padding: 2px 6px; border-radius: 4px; font-family: Menlo, Consolas, monospace; font-size: 13px; color: var(--primary-dark); }

/* Whitepaper */
.whitepaper { background: #fff; }
.whitepaper-header { background: linear-gradient(135deg, #0a2a6b 0%, #0f6fff 100%); color: #fff; padding: 60px 20px 50px; }
.whitepaper-header h1 { color: #fff; font-size: 34px; line-height: 1.3; margin: 16px 0 18px; max-width: 880px; }
.whitepaper-header .breadcrumb { font-size: 14px; opacity: .85; }
.whitepaper-header .breadcrumb a { color: #fff; }
.whitepaper-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; opacity: .9; }
.whitepaper-content { padding: 50px 20px 30px; }
.whitepaper-toc {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 28px; margin-bottom: 40px;
}
.whitepaper-toc h2 { font-size: 18px; margin: 0 0 12px; }
.whitepaper-toc ol { padding-left: 22px; margin: 0; }
.whitepaper-toc li { margin-bottom: 6px; }
.whitepaper-content section { margin-bottom: 50px; scroll-margin-top: 80px; }
.whitepaper-content h2 { font-size: 26px; margin: 0 0 18px; color: var(--text); }
.whitepaper-content h3 { font-size: 20px; margin: 24px 0 12px; }
.whitepaper-content p { font-size: 16px; line-height: 1.8; color: var(--text); }
.whitepaper-content ul { padding-left: 22px; }
.whitepaper-content li { margin-bottom: 6px; line-height: 1.7; }
.whitepaper-case {
  background: #fff8e6; border-left: 4px solid #ffb800; padding: 18px 22px;
  border-radius: 6px; margin: 22px 0;
}
.whitepaper-case h4 { margin: 0 0 10px; color: #b38100; font-size: 16px; }
.whitepaper-case p { margin: 0 0 10px; font-size: 15px; }
.whitepaper-conclusion {
  background: #eaf3ff; border-left: 4px solid var(--primary); padding: 22px 24px;
  border-radius: 6px; margin: 30px 0;
}
.whitepaper-conclusion h3 { margin: 0 0 12px; }
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.data-table th, .data-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.data-table th { background: var(--bg-alt); font-weight: 600; }
.whitepaper-cta { text-align: center; padding: 40px 0; border-top: 1px solid var(--border); }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.whitepaper-related {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 22px 28px; margin: 40px 0 0;
}
.whitepaper-related h3 { margin: 0 0 12px; font-size: 17px; }
.whitepaper-related ul { list-style: none; padding: 0; margin: 0; }
.whitepaper-related li { margin-bottom: 6px; }

@media (max-width: 860px) {
  .whitepaper-header h1 { font-size: 24px; }
  .whitepaper-meta { gap: 12px; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 6px 8px; }
}

/* Article */
.article { max-width: 820px; margin: 0 auto; }
.article h1 { font-size: 34px; margin: 0 0 14px; }
.article .lead { color: var(--muted); font-size: 17px; margin: 0 0 30px; }
.article h2 { font-size: 22px; margin: 32px 0 12px; }
.article p { font-size: 16px; margin: 0 0 14px; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 6px; }

/* Footer */
.footer { background: #0b1f3a; color: #cdd6e6; padding: 50px 20px 24px; margin-top: 60px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #cdd6e6; }
.footer-bottom { border-top: 1px solid #1c2e4d; margin-top: 30px; padding-top: 18px; text-align: center; color: #8fa0bd; font-size: 13px; }