* {
  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;
  color: #20283a;
  background: #f6f8fc;
  line-height: 1.75;
  overflow-x: hidden;
}

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

a:hover {
  color: #1768E8;
}

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

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

.container.narrow {
  width: min(860px, calc(100% - 36px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 226, 237, .78);
}

.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;
  color: #172033;
  font-weight: 800;
  letter-spacing: .02em;
}

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

.site-nav {
  position: absolute;
  top: 72px;
  left: 18px;
  right: 18px;
  display: none;
  padding: 16px;
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(31, 45, 78, .12);
}

.site-nav a {
  display: block;
  padding: 10px 12px;
  color: #4c586d;
  font-size: 15px;
  border-radius: 12px;
}

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

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

.nav-toggle-label {
  width: 44px;
  height: 44px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  background: #fff;
}

.nav-toggle-label span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 3px;
  background: #28364d;
}

.nav-toggle:checked ~ .site-nav {
  display: block;
}

.gradient-bg,
.vpn-saas-hero,
.cta-section {
  background: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
}

.vpn-saas-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
}

.vpn-saas-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% -10%;
  height: 46%;
  background: #f6f8fc;
  transform: skewY(-4deg);
  transform-origin: left top;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
  padding: 58px 0 76px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

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

.hero-tags,
.float-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span,
.float-tags span,
.tag-row span,
.category-badge,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span,
.float-tags span {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
}

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

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

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

.app-showcase {
  position: relative;
  width: min(420px, 90%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 36px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 30px 80px rgba(23, 31, 72, .28);
}

.app-showcase img {
  border-radius: 28px;
  box-shadow: 0 20px 52px rgba(16, 30, 68, .2);
}

.float-card {
  position: absolute;
  z-index: 4;
  min-width: 132px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  color: #20283a;
  box-shadow: 0 18px 40px rgba(23, 31, 72, .18);
  border: 1px solid rgba(255, 255, 255, .58);
}

.float-card strong {
  display: block;
  font-size: 14px;
}

.float-card span {
  color: #6b7588;
  font-size: 12px;
}

.float-card.card-a {
  top: 8%;
  left: 0;
}

.float-card.card-b {
  top: 26%;
  right: 0;
}

.float-card.card-c {
  bottom: 24%;
  left: 3%;
}

.float-card.card-d {
  bottom: 8%;
  right: 5%;
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: #eef4fb;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.18;
  letter-spacing: -.04em;
}

.section-lead {
  max-width: 760px;
  margin: 0 0 32px;
  color: #657085;
  font-size: 16px;
}

.center-title {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}

.center-title .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.product-highlights {
  margin-top: -36px;
  position: relative;
  z-index: 5;
}

.highlights-grid,
.card-grid,
.risk-grid,
.faq-grid,
.policy-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.highlight-card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.side-card,
.download-panel,
.content-card {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(28, 42, 75, .06);
}

.highlight-card {
  padding: 24px;
}

.highlight-card .mini-label,
.category-badge,
.tag-row span {
  color: #2980FE;
  background: #eef5ff;
}

.highlight-card h3,
.info-card h3,
.risk-card h3,
.step-card h3,
.side-card h3 {
  margin: 10px 0 8px;
  color: #1f2a3d;
  line-height: 1.28;
}

.highlight-card p,
.info-card p,
.risk-card p,
.step-card p,
.side-card p,
.content-card p {
  color: #667287;
  margin: 0 0 14px;
}

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

.feature-panel,
.security-panel,
.privacy-protection-section,
.no-log-policy-section {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 34px;
  padding: 28px;
  box-shadow: 0 18px 52px rgba(30, 47, 88, .07);
}

.feature-image {
  position: relative;
  border-radius: 34px;
  padding: 18px;
  background: linear-gradient(145deg, #f2f6ff 0%, #ffffff 100%);
  border: 1px solid #e4e9f2;
  overflow: hidden;
}

.feature-image img {
  border-radius: 26px;
  width: 100%;
  object-fit: cover;
}

.feature-list,
.check-list,
.number-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #536074;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  left: 0;
  top: .72em;
  border-radius: 50%;
  background: #2980FE;
  box-shadow: 0 0 0 5px #e9f3ff;
}

.related-link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 800;
}

.speed-board {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.speed-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: #f6f8fc;
}

.speed-line {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #dce8ff, #2980FE);
}

.nodes-map-card {
  display: grid;
  gap: 16px;
}

.node-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f6f8fc;
  border-radius: 18px;
  color: #566276;
}

.privacy-cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.info-card {
  padding: 22px;
}

.policy-grid {
  margin-top: 24px;
}

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

.device-card {
  padding: 18px;
  border-radius: 24px;
  background: #f6f8fc;
  border: 1px solid #e5ebf5;
}

.protocol-board {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.protocol-item {
  padding: 16px;
  border-radius: 20px;
  background: #f5f8ff;
  border-left: 4px solid #2980FE;
}

.process-steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}

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

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: #2980FE;
  font-weight: 800;
  margin-bottom: 10px;
}

.safety-panel {
  background: #fff;
  border-radius: 34px;
  border: 1px solid #e4e9f2;
  padding: 26px;
}

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

.risk-card .advice {
  display: block;
  margin-top: 8px;
  color: #1f2a3d;
  font-weight: 700;
}

.faq-item {
  padding: 22px;
}

.faq-item h3 {
  margin: 0 0 8px;
  line-height: 1.35;
}

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

.cta-section {
  color: #fff;
  border-radius: 34px;
  margin: 24px auto 76px;
  padding: 48px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
}

.cta-section p {
  margin: 0 auto 24px;
  max-width: 680px;
  color: rgba(255, 255, 255, .88);
}

.page-hero {
  padding: 56px 0;
  background: linear-gradient(180deg, #eef5ff 0%, #f6f8fc 100%);
}

.page-hero.compact {
  padding: 48px 0 34px;
}

.page-summary {
  margin: 0 0 24px;
  color: #5f6b80;
  font-size: 17px;
}

.content-section {
  padding: 56px 0 76px;
}

.detail-layout {
  display: grid;
  gap: 26px;
  align-items: start;
}

.detail-content,
.detail-aside {
  min-width: 0;
}

.content-card {
  padding: 28px;
  margin-bottom: 18px;
}

.content-card h2 {
  margin-top: 0;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.page-note {
  padding: 18px;
  border-radius: 22px;
  background: #eef5ff;
  color: #33425a;
  border: 1px solid #d7e6ff;
}

.side-card {
  padding: 22px;
  margin-bottom: 16px;
}

.side-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #657085;
}

.download-panel {
  padding: 34px;
  text-align: center;
}

.download-panel h2 {
  margin-top: 0;
}

.install-steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.install-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 20px;
  background: #f7f9fd;
  border: 1px solid #e4e9f2;
}

.install-step span {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #2980FE;
  color: #fff;
  font-weight: 800;
}

.site-footer {
  background: #10182a;
  color: #d8deeb;
  padding: 56px 0 24px;
}

.footer-grid {
  gap: 26px;
}

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

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

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

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

.footer-brand {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}

@media (min-width: 640px) {
  .highlights-grid,
  .card-grid,
  .risk-grid,
  .faq-grid,
  .policy-grid,
  .privacy-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

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

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    display: inline-flex;
    padding: 9px 11px;
    font-size: 14px;
  }

  .hero-grid,
  .feature-split,
  .vpn-connection-section,
  .high-speed-section,
  .global-nodes-section,
  .multi-device-section,
  .encryption-protocol-section {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    padding: 86px 0 118px;
  }

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

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

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

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

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

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .section {
    padding: 92px 0;
  }
}

@media (min-width: 1120px) {
  .site-nav a {
    padding: 9px 13px;
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .container,
  .container.narrow {
    width: min(100% - 28px, 1120px);
  }

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

  .float-card {
    position: static;
    margin: 10px auto 0;
    width: min(280px, 100%);
  }

  .float-tags {
    display: none;
  }

  .feature-panel,
  .security-panel,
  .privacy-protection-section,
  .no-log-policy-section,
  .content-card,
  .download-panel {
    padding: 22px;
    border-radius: 26px;
  }

  .download-btn {
    width: 100%;
  }

  .cta-section .download-btn,
  .hero-copy .download-btn,
  .page-hero .download-btn {
    width: auto;
    min-width: 172px;
  }
}
