:root {
  --brand-gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
  --primary: #2980FE;
  --primary-dark: #1768E8;
  --text: #202432;
  --muted: #626B7C;
  --light-muted: #8A94A8;
  --line: #E5E9F2;
  --bg: #F6F8FC;
  --soft-blue: #EEF5FF;
  --white: #FFFFFF;
  --shadow: 0 18px 45px rgba(42, 58, 98, 0.10);
  --soft-shadow: 0 10px 28px rgba(42, 58, 98, 0.08);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

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: var(--bg);
  line-height: 1.72;
  overflow-x: hidden;
}

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

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

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  color: var(--text);
}

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

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

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

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

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(53, 88, 242, 0.18);
}

.site-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 16px;
  right: 16px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  color: #3B4358;
  font-size: 15px;
}

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

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

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

.nav-toggle-label {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

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

section {
  padding: 56px 0;
}

.section-eyebrow,
.page-badge,
.card-tag,
.feature-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(41, 128, 254, 0.10);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-title {
  margin: 14px 0 12px;
  font-size: clamp(28px, 5vw, 46px);
  letter-spacing: -0.04em;
}

.section-lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
}

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

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

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

.vpn-saas-hero {
  position: relative;
  padding: 72px 0 70px;
  overflow: hidden;
  background: var(--brand-gradient);
  isolation: isolate;
}

.vpn-saas-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -22% -10%;
  height: 38%;
  background: var(--bg);
  transform: skewY(-4deg);
  transform-origin: left top;
  z-index: -1;
}

.vpn-saas-hero::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -80px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  filter: blur(8px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(38px, 10vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 20px;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 28px 0 22px;
}

.hero-note {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

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

.hero-tags span,
.floating-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  padding: 18px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 30px 80px rgba(24, 32, 51, 0.20);
}

.hero-visual img {
  width: 100%;
  border-radius: 28px;
  background: #fff;
}

.floating-card {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: min(250px, calc(100% - 28px));
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.floating-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.floating-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.product-highlights {
  padding-top: 34px;
}

.highlight-grid,
.feature-grid,
.privacy-card-grid,
.policy-grid,
.protocol-grid,
.risk-grid,
.info-card-grid,
.related-grid,
.check-grid {
  display: grid;
  gap: 18px;
}

.highlight-card,
.feature-card,
.privacy-card,
.policy-card,
.protocol-card,
.risk-card,
.info-card,
.related-card,
.faq-item,
.step-card,
.side-panel,
.article-panel,
.tip-box,
.download-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
}

.highlight-card {
  padding: 22px;
}

.highlight-card h3,
.feature-card h3,
.privacy-card h3,
.policy-card h3,
.protocol-card h3,
.risk-card h3,
.step-card h3,
.related-card h3,
.info-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.highlight-card p,
.feature-card p,
.privacy-card p,
.policy-card p,
.protocol-card p,
.risk-card p,
.step-card p,
.related-card p,
.info-card p {
  color: var(--muted);
  font-size: 15px;
}

.feature-section,
.vpn-connection-section,
.high-speed-section,
.global-nodes-section,
.privacy-protection-section,
.no-log-policy-section,
.multi-device-section,
.encryption-protocol-section,
.safety-panel,
.page-hero,
.download-page-section {
  background: var(--bg);
}

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

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

.feature-panel img {
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(41, 128, 254, 0.12);
}

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

.feature-list li,
.clean-list li,
.number-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.feature-list li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.number-list {
  counter-reset: item;
}

.number-list li {
  counter-increment: item;
  padding-left: 34px;
}

.number-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.module-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 800;
}

.soft-bg {
  background: #F1F6FF;
}

.privacy-wrap {
  display: grid;
  gap: 22px;
}

.privacy-visual {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F7FF 100%);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.privacy-visual img {
  border-radius: 26px;
}

.privacy-card,
.policy-card,
.protocol-card,
.risk-card,
.info-card,
.related-card,
.step-card {
  padding: 22px;
}

.policy-banner {
  display: grid;
  gap: 22px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.policy-banner img {
  border-radius: 26px;
}

.device-showcase {
  display: grid;
  gap: 18px;
}

.device-card-main {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--brand-gradient);
  color: #fff;
  overflow: hidden;
}

.device-card-main h2,
.device-card-main p {
  color: #fff;
}

.device-card-main img {
  margin-top: 22px;
  border-radius: 28px;
  background: #fff;
}

.protocol-panel {
  display: grid;
  gap: 20px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #111A35;
  color: #fff;
  overflow: hidden;
}

.protocol-panel h2,
.protocol-panel p,
.protocol-panel li {
  color: #fff;
}

.protocol-panel .module-link {
  color: #9FC6FF;
}

.protocol-panel img {
  border-radius: 26px;
  background: #fff;
}

.process-steps {
  background: #fff;
}

.steps-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.step-card {
  position: relative;
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.risk-grid {
  margin-top: 28px;
}

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

.risk-card strong {
  display: block;
  margin: 12px 0 6px;
  color: var(--text);
}

.faq-section {
  background: #fff;
}

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

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

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

.cta-section {
  padding: 62px 0;
  background: var(--brand-gradient);
  color: #fff;
}

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

.cta-box h2,
.cta-box p {
  color: #fff;
}

.cta-box h2 {
  font-size: clamp(30px, 6vw, 48px);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
}

.page-hero {
  padding: 58px 0 32px;
}

.page-hero-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F6FF 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-size: clamp(34px, 8vw, 56px);
  margin: 14px 0 14px;
  letter-spacing: -0.04em;
}

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

.article-section {
  padding-top: 28px;
}

.article-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}

.article-panel {
  padding: 24px;
}

.article-panel h2 {
  margin: 26px 0 12px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.article-panel h2:first-child {
  margin-top: 0;
}

.article-panel p {
  color: var(--muted);
}

.article-panel .download-btn {
  margin-top: 20px;
}

.side-panel {
  padding: 22px;
}

.side-panel h3 {
  margin-bottom: 12px;
}

.side-panel a {
  display: block;
  padding: 10px 0;
  color: var(--primary);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.side-panel a:last-child {
  border-bottom: 0;
}

.tip-box {
  padding: 18px;
  background: #F8FBFF;
  margin: 18px 0;
  border-left: 4px solid var(--primary);
}

.tip-box h3 {
  margin-bottom: 8px;
}

.info-card-grid,
.related-grid,
.check-grid {
  margin: 18px 0 22px;
}

.download-page-section .download-panel {
  padding: 28px;
}

.download-panel .download-btn {
  margin: 12px 0 24px;
}

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

.download-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: #F8FAFF;
  border: 1px solid var(--line);
}

.download-step span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.download-step h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.download-step p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 46px;
}

.footer-shell {
  display: grid;
  gap: 28px;
}

.footer-brand p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.64);
}

.footer-logo {
  margin-bottom: 16px;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 22px;
}

.footer-links h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

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

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

.footer-bottom p {
  margin: 0;
}

@media (min-width: 640px) {
  .highlight-grid,
  .privacy-card-grid,
  .policy-grid,
  .protocol-grid,
  .risk-grid,
  .info-card-grid,
  .related-grid,
  .check-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

  .site-nav a {
    font-size: 14px;
    padding: 10px 12px;
  }

  section {
    padding: 80px 0;
  }

  .vpn-saas-hero {
    padding: 94px 0 104px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 58px;
  }

  .feature-panel {
    grid-template-columns: 1fr 1fr;
    padding: 34px;
  }

  .feature-panel.reverse .feature-media {
    order: -1;
  }

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

  .privacy-wrap {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .policy-banner,
  .protocol-panel {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 34px;
  }

  .device-showcase {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

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

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

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

  .article-panel {
    padding: 34px;
  }

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

@media (min-width: 1100px) {
  .site-nav a {
    padding: 10px 14px;
  }
}

@media (max-width: 420px) {
  .nav-shell,
  .container,
  .footer-shell,
  .footer-bottom {
    width: min(100% - 24px, 1120px);
  }

  .download-btn {
    width: 100%;
  }

  .hero-actions .download-btn,
  .cta-box .download-btn,
  .article-panel .download-btn,
  .download-panel .download-btn {
    width: 100%;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .hero-visual {
    padding: 14px;
    border-radius: 26px;
  }
}
