* {
  box-sizing: border-box;
}

:root {
  --primary: #2980FE;
  --primary-dark: #1768E8;
  --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
  --text: #182033;
  --muted: #687187;
  --light: #F6F8FC;
  --line: #E5EAF3;
  --panel: #FFFFFF;
  --soft-blue: #EEF5FF;
  --shadow: 0 18px 50px rgba(31, 58, 118, 0.10);
  --radius: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 234, 243, 0.85);
}

.nav-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
}

.main-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 76px;
  display: none;
  flex-direction: column;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

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

.main-nav a:hover {
  background: var(--soft-blue);
  color: var(--primary);
}

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

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

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

.section {
  padding: 68px 0;
}

.section.soft {
  background: var(--light);
}

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

.section-lead {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 17px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #ECF4FF;
  color: var(--primary);
  border: 1px solid #D8E9FF;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.download-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(23, 104, 232, 0.28);
}

.text-link {
  color: var(--primary);
  font-weight: 800;
}

.vpn-saas-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 76px;
  background: var(--gradient);
  color: #fff;
}

.vpn-saas-hero:after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -92px;
  height: 180px;
  background: #fff;
  transform: rotate(-4deg);
  transform-origin: left top;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 9vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero-content p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.hero-tags span,
.floating-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.hero-device {
  width: min(420px, 100%);
  padding: 18px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 80px rgba(12, 18, 43, 0.24);
}

.hero-device img {
  border-radius: 28px;
}

.status-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(18, 31, 62, 0.16);
  font-weight: 800;
  font-size: 13px;
}

.status-card small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.status-one { top: 22px; left: 0; }
.status-two { right: 0; bottom: 34px; }
.status-three { left: 20px; bottom: 8px; }

.product-highlights {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  display: grid;
  gap: 16px;
}

.highlight-card,
.card,
.risk-card,
.faq-item,
.step-card,
.info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(31, 58, 118, 0.06);
}

.highlight-card {
  padding: 22px;
}

.highlight-card .tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.highlight-card h3,
.card h3,
.risk-card h3,
.step-card h3,
.info-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.highlight-card p,
.card p,
.risk-card p,
.step-card p,
.info-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.feature-panel {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-panel.reverse {
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
}

.feature-image {
  border-radius: 28px;
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: #F6F9FF;
  color: #35415C;
  border: 1px solid #E7EEF9;
}

.high-speed-section {
  background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
}

.speed-grid,
.nodes-grid,
.multi-grid,
.protocol-grid {
  display: grid;
  gap: 18px;
}

.metric-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.metric-card strong {
  display: block;
  color: var(--primary);
  font-size: 28px;
  line-height: 1.2;
}

.privacy-protection-section .privacy-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.privacy-cards,
.no-log-cards,
.risk-grid,
.faq-grid,
.related-grid,
.check-grid {
  display: grid;
  gap: 16px;
}

.no-log-policy-section {
  background: #F7F8FC;
}

.no-log-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.no-log-card span {
  color: var(--primary);
  font-weight: 900;
}

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

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

.step-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}

.safety-panel {
  padding: 26px;
  border-radius: 32px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
  border: 1px solid var(--line);
}

.risk-card {
  padding: 20px;
  border-left: 4px solid var(--primary);
}

.risk-card strong {
  color: #2A3550;
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.cta-section {
  margin: 0 auto 74px;
  width: min(1180px, calc(100% - 32px));
  padding: 42px 24px;
  border-radius: 36px;
  text-align: center;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 24px 70px rgba(69, 86, 216, 0.22);
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.15;
}

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

.page-hero {
  padding: 58px 0 38px;
  background: linear-gradient(180deg, #F4F7FF 0%, #FFFFFF 100%);
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 8vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.page-hero p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.page-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.article-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(31, 58, 118, 0.06);
}

.article-card h2 {
  margin-top: 0;
  font-size: 26px;
}

.article-card p {
  color: #4C5568;
}

.side-panel {
  padding: 22px;
  border-radius: 24px;
  background: #F7FAFF;
  border: 1px solid #E1EAF8;
}

.side-panel h3 {
  margin-top: 0;
}

.check-list {
  padding-left: 18px;
  color: #4C5568;
}

.check-list li {
  margin-bottom: 8px;
}

.download-single {
  margin-top: 24px;
}

.download-page-card {
  display: grid;
  gap: 24px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 48px 0 26px;
  background: #101827;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

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

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

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  margin: 7px 0;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (min-width: 700px) {
  .product-highlights,
  .privacy-cards,
  .no-log-cards,
  .risk-grid,
  .faq-grid,
  .related-grid,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .download-page-card {
    grid-template-columns: 1.1fr .9fr;
  }
}

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

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

  .hero-grid,
  .feature-panel,
  .nodes-grid,
  .multi-grid,
  .protocol-grid,
  .page-layout {
    grid-template-columns: 1.05fr .95fr;
  }

  .hero-grid {
    min-height: 590px;
  }

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

  .speed-grid {
    grid-template-columns: 1.2fr repeat(2, .8fr);
  }

  .privacy-protection-section .privacy-panel {
    grid-template-columns: 1fr .9fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.4fr .8fr .8fr;
  }

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

@media (min-width: 1120px) {
  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
