/* ===== 快连 VPN - 消费级安全加速·清爽蓝白风 ===== */
:root {
  --bg: #ffffff;
  --bg2: #f4f9fe;
  --bg3: #e4f0fb;
  --card: #ffffff;
  --border: #dce8f5;
  --border-light: #eef4fa;
  --text: #0b1a30;
  --text2: #3a5275;
  --text3: #6b87a8;
  --cyan: #0072f5;
  --cyan-light: #3391ff;
  --cyan-soft: #e5f1ff;
  --cyan-glow: rgba(0,114,245,0.12);
  --green: #00c951;
  --green-soft: #e6f9ee;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 18px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.09);
  --trans: 0.3s cubic-bezier(0.4,0,0.2,1);
}
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width:100%; display:block; }

/* Nav */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px; height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.3px; }
.nav-brand .brand-dot { width: 36px; height: 36px; border-radius: 12px; background: var(--cyan); display: grid; place-items: center; font-size: 18px; color: #fff; }
.nav-brand .accent { color: var(--cyan); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a { padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text2); transition: all var(--trans); }
.nav-menu a:hover { color: var(--cyan); background: var(--cyan-soft); }
.nav-menu a.btn-nav { background: var(--cyan); color: #fff; font-weight: 600; border-radius: 10px; padding: 10px 22px; }
.nav-menu a.btn-nav:hover { background: var(--cyan-light); transform: translateY(-1px); box-shadow: 0 4px 18px var(--cyan-glow); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  padding: 148px 0 80px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 30%, #f4f9fe 70%, #fff 100%);
}
.hero::before { content:""; position:absolute; top:-120px; right:-80px; width:500px; height:500px; background:radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%); pointer-events:none; border-radius:50%; }
.hero::after { content:""; position:absolute; bottom:-60px; left:-60px; width:350px; height:350px; background:radial-gradient(circle, rgba(0,201,81,0.05) 0%, transparent 70%); pointer-events:none; border-radius:50%; }
.hero-grid {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  position: relative; z-index: 1;
}
.hero-text .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; border-radius: 99px;
  background: var(--green-soft); color: var(--green);
  font-size: 12px; font-weight: 700; letter-spacing: 0.2px; margin-bottom: 26px;
}
.tag .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.25; } }
.hero-text h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 900; line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero-text h1 .accent { color: var(--cyan); }
.hero-text .desc { font-size: 16px; color: var(--text3); line-height: 1.8; margin-bottom: 34px; max-width: 460px; }
.hero-btns { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-btns .tip { font-size: 12px; color: var(--text3); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all var(--trans); border: none; white-space: nowrap; }
.btn-primary { background: var(--cyan); color: #fff; box-shadow: 0 6px 22px var(--cyan-glow); }
.btn-primary:hover { background: var(--cyan-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,114,245,0.22); }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-light { background: var(--bg2); color: var(--text); border: 1px solid var(--border); border-radius: 10px; }
.btn-light:hover { background: #fff; border-color: var(--cyan); }

/* Connection visual */
.connect-visual { position: relative; }
.connect-box {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.connect-box .cb-top {
  padding: 14px 18px; background: var(--bg2); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.cb-top .c-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.cb-top span { font-size: 12px; color: var(--text2); font-weight: 500; }
.connect-box .cb-body { height: 240px; background: linear-gradient(135deg, #f4f9fe 0%, #e8f4ff 30%, #f4f9fe 70%); display: grid; place-items: center; }
.cb-body .cb-map { font-size: 64px; opacity: 0.3; }
.cb-body .cb-node { 
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 16px; height: 16px; background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(0,114,245,0.15), 0 0 0 20px rgba(0,114,245,0.06);
  animation: ripple 2s infinite;
}
@keyframes ripple { 0% { box-shadow: 0 0 0 0 rgba(0,114,245,0.25); } 100% { box-shadow: 0 0 0 24px rgba(0,114,245,0); } }
.connect-info {
  position: absolute; bottom: -18px; left: -24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 20px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md);
}
.connect-info .ci-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--cyan-soft); display: grid; place-items: center; font-size: 16px; }
.connect-info strong { display: block; font-size: 13px; }
.connect-info span { font-size: 11px; color: var(--cyan); }

/* Stats */
.stats-strip { max-width: 1240px; margin: 0 auto; padding: 0 32px 72px; position: relative; z-index: 1; }
.stats-inner {
  background: linear-gradient(135deg, var(--cyan-soft), rgba(0,114,245,0.02));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-item { text-align: center; }
.stat-item .s-num { font-size: 34px; font-weight: 900; color: var(--cyan); letter-spacing: -1px; }
.stat-item .s-label { font-size: 12px; color: var(--text3); margin-top: 4px; }

/* Sections */
.sec { max-width: 1240px; margin: 0 auto; padding: 80px 32px; }
.sec.sm { padding-top: 0; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .label {
  display: inline-block; padding: 5px 16px; border-radius: 99px;
  background: var(--cyan-soft); color: var(--cyan);
  font-size: 12px; font-weight: 700; letter-spacing: 0.8px; margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.sec-head p { color: var(--text3); font-size: 15px; max-width: 520px; margin: 0 auto; }

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  transition: all var(--trans); position: relative; overflow: hidden;
}
.feat-card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--cyan),var(--cyan-light)); opacity:0; transition:opacity var(--trans); }
.feat-card:hover::before { opacity:1; }
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #c8ddf6; }
.feat-card .fc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--cyan-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 13px; color: var(--text3); line-height: 1.7; }
.feat-card .fc-num { position: absolute; top: 18px; right: 20px; font-size: 42px; font-weight: 900; color: var(--border-light); font-style: italic; }

/* Device dark section */
.dark-area {
  background: linear-gradient(135deg, #061228, #0d2342);
  color: #fff; position: relative; overflow: hidden;
}
.dark-area::before { content:""; position:absolute; bottom:-80px; right:-80px; width:400px; height:300px; background:radial-gradient(ellipse, rgba(0,114,245,0.12) 0%, transparent 70%); pointer-events:none; }
.dark-area .sec-head .label { background: rgba(0,114,245,0.15); color: #4d9eff; }
.dark-area .sec-head h2 { color: #fff; }
.dark-area .sec-head p { color: #5a7ea8; }
.device-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.device-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 36px 24px; text-align: center;
  transition: all var(--trans); backdrop-filter: blur(4px);
}
.device-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-3px); border-color: rgba(255,255,255,0.12); }
.device-card .dv-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.device-card h4 { font-size: 16px; font-weight: 700; }
.device-card p { font-size: 12px; color: #5a7ea8; margin-top: 6px; }

/* Advantage */
.adv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px;
  transition: all var(--trans);
}
.adv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.adv-card .av-icon { display: block; width: 44px; height: 44px; border-radius: 12px; background: var(--cyan-soft); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.adv-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.adv-card p { font-size: 13px; color: var(--text3); line-height: 1.7; }
.adv-card .av-list { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.adv-card .av-list span { font-size: 12px; color: var(--text2); }
.adv-card .av-list span::before { content: "✓ "; color: var(--cyan); font-weight: 700; }

/* FAQ */
.faq-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; padding: 20px 24px; background: none; border: none;
  color: var(--text); font-size: 15px; font-weight: 600; text-align: left;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.faq-q .arrow { font-size: 11px; color: var(--cyan); transition: transform var(--trans); }
.faq-a { padding: 0 24px 20px; font-size: 14px; color: var(--text3); line-height: 1.8; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .arrow { transform: rotate(180deg); }

/* CTA */
.cta-zone { position: relative; }
.cta-box {
  background: linear-gradient(135deg, var(--cyan-soft), rgba(0,201,81,0.04));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 60px 48px; text-align: center;
}
.cta-box h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-box p { color: var(--text3); font-size: 15px; margin-bottom: 28px; }
.cta-box .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--bg2); border-top: 1px solid var(--border); }
.footer-grid {
  max-width: 1240px; margin: 0 auto; padding: 56px 32px 28px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand .fl { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.footer-brand .fl img { width: 28px; height: 28px; border-radius: 8px; }
.footer-brand .fl .fc { color: var(--cyan); }
.footer-brand p { font-size: 13px; color: var(--text3); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text3); padding: 5px 0; transition: color var(--trans); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto; padding: 18px 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--text3);
  flex-wrap: wrap; gap: 12px;
}

/* Download */
.dl-hero { padding: 130px 0 56px; text-align: center; background: linear-gradient(180deg, #fff, var(--bg2)); }
.dl-hero-inner { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.dl-hero-inner h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; margin-bottom: 12px; }
.dl-hero-inner .dl-sub { color: var(--text3); font-size: 14px; margin-bottom: 18px; }
.dl-meta { display: inline-flex; gap: 20px; font-size: 13px; color: var(--text2); flex-wrap: wrap; }
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto; padding: 0 32px 56px; }
.dl-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  transition: all var(--trans); display: flex; flex-direction: column; gap: 12px;
}
.dl-card:hover { border-color: #c8ddf6; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dl-card .dl-tag { display: inline-block; padding: 4px 14px; border-radius: 99px; font-size: 11px; font-weight: 700; background: var(--cyan-soft); color: var(--cyan); align-self: center; }
.dl-card h3 { font-size: 17px; font-weight: 700; }
.dl-card .dl-info { font-size: 12px; color: var(--text3); line-height: 1.6; }
.dl-card .dl-size { font-size: 11px; color: var(--text3); }
.dl-notice { max-width: 1240px; margin: 0 auto 56px; padding: 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl-notice .nt {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 22px 18px; display: flex; gap: 14px; align-items: flex-start;
}
.nt .nt-num { width: 32px; height: 32px; border-radius: 50%; background: var(--cyan-soft); color: var(--cyan); display: grid; place-items: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.nt strong { display: block; font-size: 14px; margin-bottom: 4px; }
.nt p { font-size: 12px; color: var(--text3); line-height: 1.6; }

.specs-tbl { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.specs-tbl .sr { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--border); }
.specs-tbl .sr:last-child { border-bottom: none; }
.specs-tbl .sl { padding: 14px 18px; background: var(--bg2); font-size: 12px; font-weight: 700; color: var(--cyan); }
.specs-tbl .sv { padding: 14px 18px; font-size: 12px; color: var(--text2); }

/* 404 */
.err-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: var(--bg2); }
.err-card {
  max-width: 480px; text-align: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 60px 48px; box-shadow: var(--shadow-lg);
}
.err-card .err-num { font-size: clamp(90px, 16vw, 140px); font-weight: 900; color: var(--cyan); line-height: 0.9; margin-bottom: 8px; }
.err-card h1 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.err-card p { color: var(--text3); font-size: 13px; line-height: 1.7; margin-bottom: 28px; }
.err-card .err-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .device-row, .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px; gap: 4px; z-index: 99; }
  .hero { padding: 120px 0 50px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .adv-row { grid-template-columns: 1fr; }
  .device-row { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-notice { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sec { padding: 52px 20px; }
}
