* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: #f6f8fc;
  color: #273142;
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #2980FE;
  text-decoration: none;
}

a:hover {
  color: #1768E8;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e9edf5;
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #182235;
  letter-spacing: 0.02em;
}

.brand img,
.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  width: 42px;
  height: 42px;
  border: 1px solid #dfe6f2;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: #fff;
}

.nav-toggle-label span {
  width: 18px;
  height: 2px;
  background: #263246;
  border-radius: 99px;
}

.main-nav {
  position: absolute;
  top: 72px;
  left: 16px;
  right: 16px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e6ebf4;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(37, 54, 94, 0.14);
}

.nav-toggle:checked ~ .main-nav {
  display: flex;
}

.main-nav a {
  color: #344052;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 14px;
}

.main-nav a.active,
.main-nav a:hover {
  color: #2980FE;
  background: #edf5ff;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #2980FE;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(41, 128, 254, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
  color: #fff;
  background: #1768E8;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(23, 104, 232, 0.3);
}

.vpn-network-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
  color: #fff;
}

.vpn-network-hero::before,
.vpn-network-hero::after,
.global-nodes-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vpn-network-hero::before {
  background:
    radial-gradient(circle at 16% 26%, rgba(255,255,255,0.22), transparent 26%),
    radial-gradient(circle at 76% 18%, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, transparent 10%, rgba(255,255,255,0.18) 10.5%, transparent 11%, transparent 35%, rgba(255,255,255,0.14) 35.4%, transparent 36%);
  opacity: 0.8;
}

.vpn-network-hero::after {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.58) 1.5px, transparent 2px),
    linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,0.22) 47%, transparent 48% 100%);
  background-size: 84px 84px, 320px 220px;
  opacity: 0.35;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
  padding: 64px 0 72px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 10vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0 0 24px;
  max-width: 680px;
  color: rgba(255,255,255,0.88);
  font-size: 17px;
}

.hero-tags,
.floating-tags,
.inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.floating-tags span,
.inline-tags span,
.badge,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  padding: 8px 12px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.hero-device {
  position: relative;
  z-index: 2;
  width: min(430px, 84%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 34px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 26px 90px rgba(22, 31, 88, 0.28);
}

.hero-device img {
  border-radius: 26px;
  margin: 0 auto;
}

.floating-tags span {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  background: rgba(255,255,255,0.92);
  color: #25324a;
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow: 0 20px 50px rgba(34, 39, 70, 0.16);
}

.floating-tags span:nth-child(1) { top: 8%; left: 2%; }
.floating-tags span:nth-child(2) { top: 18%; right: 0; }
.floating-tags span:nth-child(3) { bottom: 14%; left: 0; }
.floating-tags span:nth-child(4) { right: 5%; bottom: 5%; }

.section {
  padding: 64px 0;
}

.section.soft {
  background: #eef4fb;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2,
.inner-hero h1,
.page-title h1 {
  margin: 8px 0 12px;
  color: #172033;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section-header h2 {
  font-size: clamp(28px, 6vw, 42px);
}

.section-header p,
.page-title p,
.inner-hero p {
  color: #647188;
  margin: 0;
}

.badge,
.card-kicker {
  padding: 6px 11px;
  background: #edf5ff;
  color: #2980FE;
}

.node-overview {
  margin-top: -36px;
  position: relative;
  z-index: 5;
}

.node-overview-grid {
  display: grid;
  gap: 16px;
}

.node-card,
.feature-card,
.policy-card,
.risk-card,
.faq-item,
.tip-card,
.step-card,
.info-panel,
.content-card {
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(32, 50, 84, 0.06);
}

.node-card {
  padding: 22px;
}

.node-card h3,
.feature-card h3,
.policy-card h3,
.risk-card h3,
.tip-card h3,
.step-card h3 {
  margin: 10px 0 8px;
  color: #182235;
}

.node-card p,
.feature-card p,
.policy-card p,
.risk-card p,
.tip-card p,
.step-card p {
  margin: 0 0 12px;
  color: #657189;
}

.section-grid,
.vpn-connection-section,
.high-speed-section,
.privacy-protection-section,
.multi-device-section,
.encryption-protocol-section {
  display: grid;
  gap: 28px;
  align-items: center;
}

.image-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(42, 62, 95, 0.08);
}

.image-panel img {
  margin: 0 auto;
  border-radius: 24px;
}

.feature-list,
.check-list,
.simple-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.feature-list li,
.check-list li,
.simple-list li {
  padding: 12px 14px;
  background: #f7faff;
  border: 1px solid #e7edf7;
  border-radius: 16px;
  color: #4d5a70;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  font-weight: 800;
}

.global-nodes-section {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 34px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef4ff 100%);
  border: 1px solid #e2e9f5;
}

.global-nodes-section::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(41,128,254,.18), transparent 18%),
    radial-gradient(circle at 78% 48%, rgba(123,78,241,.16), transparent 22%),
    linear-gradient(145deg, transparent 12%, rgba(41,128,254,.14) 12.3%, transparent 12.8%, transparent 45%, rgba(123,78,241,.12) 45.4%, transparent 46%);
}

.node-map-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
}

.node-point-list {
  display: grid;
  gap: 12px;
}

.node-point {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid #e6edf8;
}

.speed-lines {
  display: grid;
  gap: 12px;
}

.speed-line {
  padding: 14px;
  background: #fff;
  border: 1px solid #e5ebf6;
  border-radius: 18px;
}

.speed-line strong {
  display: flex;
  justify-content: space-between;
  color: #172033;
}

.speed-line span {
  color: #6a768b;
}

.privacy-panel,
.protocol-panel,
.safety-panel {
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.86)),
    radial-gradient(circle at top right, rgba(41,128,254,.12), transparent 32%);
  border: 1px solid #e4ebf5;
  box-shadow: 0 24px 70px rgba(34, 50, 82, 0.08);
}

.privacy-metrics,
.protocol-grid,
.policy-grid,
.risk-grid,
.page-card-grid {
  display: grid;
  gap: 16px;
}

.privacy-metrics div,
.protocol-grid div {
  padding: 16px;
  border-radius: 18px;
  background: #f6f9ff;
  border: 1px solid #e5ebf6;
}

.policy-card,
.risk-card,
.tip-card,
.step-card,
.feature-card,
.content-card {
  padding: 22px;
}

.policy-card {
  border-top: 4px solid #2980FE;
}

.device-stack {
  display: grid;
  gap: 14px;
}

.device-chip {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e4ebf6;
  box-shadow: 0 18px 50px rgba(32, 50, 84, 0.06);
}

.process-steps {
  display: grid;
  gap: 16px;
}

.step-card {
  position: relative;
  padding-left: 74px;
}

.step-number {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #2980FE;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.risk-card {
  border-left: 4px solid #2980FE;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin: 0 0 8px;
  color: #172033;
}

.faq-item p {
  margin: 0;
  color: #627089;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
  color: #fff;
}

.cta-box {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1.18;
}

.cta-box p {
  margin: 0 auto 22px;
  color: rgba(255,255,255,.86);
}

.inner-hero {
  padding: 52px 0 30px;
  background:
    radial-gradient(circle at 85% 22%, rgba(41,128,254,.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f4f7fc 100%);
}

.page-layout {
  display: grid;
  gap: 24px;
  padding: 28px 0 68px;
}

.content-card {
  padding: 24px;
}

.content-card p {
  color: #5f6c82;
}

.side-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.tip-card strong {
  color: #172033;
}

.download-panel {
  text-align: center;
  padding: 34px 22px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #e5ebf5;
  box-shadow: 0 18px 55px rgba(32,50,84,.06);
}

.download-steps {
  counter-reset: item;
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.download-steps div {
  position: relative;
  padding: 16px 16px 16px 54px;
  background: #f7faff;
  border: 1px solid #e5ebf6;
  border-radius: 18px;
}

.download-steps div::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #2980FE;
  color: #fff;
  font-weight: 800;
}

.site-footer {
  background: #101828;
  color: #d6deee;
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  gap: 26px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
}

.site-footer p {
  color: #aeb8ca;
  margin: 10px 0 0;
}

.site-footer a {
  display: block;
  color: #c9d4e7;
  margin: 8px 0;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #96a3b8;
  font-size: 14px;
}

@media (min-width: 700px) {
  .node-overview-grid,
  .policy-grid,
  .risk-grid,
  .page-card-grid,
  .protocol-grid,
  .privacy-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .nav-toggle-label {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .hero-grid,
  .section-grid,
  .vpn-connection-section,
  .high-speed-section,
  .privacy-protection-section,
  .multi-device-section,
  .encryption-protocol-section,
  .node-map-card,
  .page-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    padding: 92px 0 104px;
  }

  .node-overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .risk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }

  .global-nodes-section {
    padding: 46px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero-grid {
    padding: 48px 0 58px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .floating-tags span {
    position: static;
    margin: 6px;
  }

  .section {
    padding: 48px 0;
  }

  .global-nodes-section {
    padding: 22px;
    border-radius: 26px;
  }

  .download-btn {
    width: 100%;
  }
}
