/* ── VPN Solution Page ─────────────────────── */

.vpn-page {
  background: var(--bg-deep);
}

/* Hero */
.vpn-hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.vpn-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.vpn-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.vpn-hero-glow-1 {
  width: 500px;
  height: 500px;
  top: 5%;
  left: -10%;
  background: rgba(13, 148, 136, 0.15);
  animation: vpnGlow1 12s ease-in-out infinite alternate;
}

.vpn-hero-glow-2 {
  width: 460px;
  height: 460px;
  bottom: 5%;
  right: -8%;
  background: rgba(124, 58, 237, 0.12);
  animation: vpnGlow2 14s ease-in-out infinite alternate;
}

@keyframes vpnGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 50px) scale(1.12); }
}

@keyframes vpnGlow2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -40px) scale(1.1); }
}

.vpn-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}

.vpn-network-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 1;
}

.vpn-network-bg::before {
  content: '';
  position: absolute;
  inset: 8% 6%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 22% 42%, rgba(13,148,136,0.18), transparent 18%),
    radial-gradient(circle at 78% 34%, rgba(124,58,237,0.16), transparent 20%),
    radial-gradient(circle at 58% 72%, rgba(217,119,6,0.12), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0.05));
  border: 1px solid rgba(13,148,136,0.08);
  box-shadow: inset 0 0 80px rgba(13,148,136,0.08);
}

.vpn-network-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(13,148,136,0.22) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(124,58,237,0.16) 1px, transparent 1.5px);
  background-size: 42px 42px, 68px 68px;
  background-position: 0 0, 18px 24px;
  opacity: 0.42;
  animation: vpnStarDrift 18s linear infinite;
}

@keyframes vpnStarDrift {
  to { background-position: 42px 42px, 86px 92px; }
}

.vpn-network-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
  animation: vpnOrbFloat 8s ease-in-out infinite alternate;
}

.orb-a { width: 190px; height: 190px; left: 16%; top: 25%; background: rgba(13,148,136,0.16); }
.orb-b { width: 230px; height: 230px; right: 18%; top: 20%; background: rgba(124,58,237,0.13); animation-delay: 1.2s; }
.orb-c { width: 160px; height: 160px; left: 52%; bottom: 12%; background: rgba(217,119,6,0.1); animation-delay: 2s; }

@keyframes vpnOrbFloat {
  to { transform: translateY(-28px) translateX(18px) scale(1.08); }
}

.vpn-network-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0d9488;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: 0 0 0 8px rgba(13,148,136,0.08), 0 0 26px rgba(13,148,136,0.55);
  z-index: 2;
  animation: vpnNodePing 2.6s ease-in-out infinite;
}

.node-1 { left: 24%; top: 44%; }
.node-2 { left: 42%; top: 30%; animation-delay: .3s; background: #7c3aed; box-shadow: 0 0 0 8px rgba(124,58,237,0.08), 0 0 26px rgba(124,58,237,0.5); }
.node-3 { left: 62%; top: 49%; animation-delay: .6s; }
.node-4 { left: 76%; top: 32%; animation-delay: .9s; background: #7c3aed; box-shadow: 0 0 0 8px rgba(124,58,237,0.08), 0 0 26px rgba(124,58,237,0.5); }
.node-5 { left: 56%; top: 70%; animation-delay: 1.2s; background: #d97706; box-shadow: 0 0 0 8px rgba(217,119,6,0.08), 0 0 26px rgba(217,119,6,0.45); }

@keyframes vpnNodePing {
  0%, 100% { transform: scale(1); opacity: .86; }
  50% { transform: scale(1.35); opacity: 1; }
}

.vpn-network-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13,148,136,0.75), rgba(124,58,237,0.55), transparent);
  transform-origin: left center;
  z-index: 1;
  opacity: 0.55;
  overflow: hidden;
}

.vpn-network-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  transform: translateX(-100%);
  animation: vpnLineFlash 3s ease-in-out infinite;
}

.line-1 { left: 24.8%; top: 45%; width: 22%; transform: rotate(-22deg); }
.line-2 { left: 42%; top: 31%; width: 24%; transform: rotate(26deg); animation-delay: .4s; }
.line-3 { left: 62%; top: 50%; width: 18%; transform: rotate(-33deg); animation-delay: .8s; }
.line-4 { left: 56%; top: 70%; width: 18%; transform: rotate(-20deg); animation-delay: 1.2s; }

@keyframes vpnLineFlash {
  0%, 35% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: .8; }
  100% { transform: translateX(100%); opacity: 0; }
}

.vpn-data-stream {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(13,148,136,0.2);
  border-radius: 50%;
  z-index: 1;
  animation: vpnStreamPulse 5s ease-in-out infinite;
}

.stream-1 { left: 18%; top: 34%; }
.stream-2 { right: 19%; top: 22%; animation-delay: 1.4s; border-color: rgba(124,58,237,0.2); }
.stream-3 { left: 48%; bottom: 10%; animation-delay: 2.4s; border-color: rgba(217,119,6,0.16); }

@keyframes vpnStreamPulse {
  0% { transform: scale(.55); opacity: .45; }
  100% { transform: scale(1.6); opacity: 0; }
}

.vpn-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(248,250,252,0.38), rgba(248,250,252,0.72));
  pointer-events: none;
}

.vpn-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.vpn-hero-bullets {
  justify-content: center;
}

.vpn-hero-cta {
  justify-content: center;
}

.vpn-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 24px;
}

.vpn-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: vpnPulse 2s ease-in-out infinite;
}

@keyframes vpnPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.vpn-hero h1 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 12px;
}

.vpn-grad {
  background: linear-gradient(135deg, #0d9488 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vpn-spark {
  color: #d97706;
  margin-left: 4px;
}

.vpn-hero-sub {
  font-size: 24px;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.vpn-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.vpn-hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.vpn-hero-bullets span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.vpn-hero-bullets svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

.vpn-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.vpn-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vpn-btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.25);
}

.vpn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.35);
}

.vpn-btn-outline {
  background: transparent;
  color: var(--fg) !important;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.vpn-btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan) !important;
  transform: translateY(-2px);
}

.vpn-btn-lg {
  padding: 14px 36px;
  font-size: 16px;
}

/* Sections */
.vpn-section {
  padding: 72px 0;
}

.vpn-section-alt {
  background: var(--bg-section);
}

.vpn-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.vpn-section-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.15);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.vpn-section-header h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--fg);
}

/* Features Grid */
.vpn-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vpn-feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 32px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vpn-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.vpn-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--vpn-color) 10%, transparent);
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.vpn-feature-card:hover .vpn-feature-icon {
  transform: scale(1.1) rotate(3deg);
}

.vpn-feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--vpn-color);
}

.vpn-feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 10px;
}

.vpn-feature-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-muted);
}

/* Scenarios */
.vpn-scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vpn-scenario-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vpn-scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.vpn-scenario-num {
  font-size: 32px;
  font-weight: 900;
  color: rgba(13, 148, 136, 0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.vpn-scenario-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 8px;
}

.vpn-scenario-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-muted);
}

/* Comparison Table */
.vpn-compare-table {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--bg-card);
}

.vpn-compare-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 0;
}

.vpn-compare-row + .vpn-compare-row {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.vpn-compare-header {
  background: var(--bg-section);
}

.vpn-compare-header .vpn-compare-dim,
.vpn-compare-header .vpn-compare-col-bad,
.vpn-compare-header .vpn-compare-col-good {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vpn-compare-dim {
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.5);
}

.vpn-compare-col-bad,
.vpn-compare-col-good {
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vpn-compare-col-bad {
  color: #94a3b8;
}

.vpn-compare-col-good {
  color: var(--fg);
}

.vpn-ok svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
}

/* CTA Section */
.vpn-cta-section {
  background: var(--bg-section);
}

.vpn-cta-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 32px;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.04);
}

.vpn-cta-box h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.vpn-cta-box p {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

/* Responsive */
@media (max-width: 1024px) {
  .vpn-features-grid,
  .vpn-scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .vpn-hero {
    padding: 40px 0 60px;
  }

  .vpn-hero h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .vpn-hero-sub {
    font-size: 20px;
  }

  .vpn-hero-desc {
    font-size: 15px;
  }

  .vpn-section {
    padding: 48px 0;
  }

  .vpn-section-header h2 {
    font-size: 28px;
  }

  .vpn-features-grid,
  .vpn-scenarios-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vpn-compare-row {
    grid-template-columns: 80px 1fr 1fr;
  }

  .vpn-compare-dim {
    font-size: 12px;
    padding: 12px 10px;
  }

  .vpn-compare-col-bad,
  .vpn-compare-col-good {
    font-size: 13px;
    padding: 12px 10px;
  }
}

@media (max-width: 480px) {
  .vpn-hero h1 {
    font-size: 28px;
  }

  .vpn-compare-row {
    grid-template-columns: 1fr;
  }

  .vpn-compare-header {
    display: none;
  }

  .vpn-compare-col-bad::before {
    content: '普通方案';
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--fg-dim);
    margin-bottom: 2px;
  }

  .vpn-compare-col-good::before {
    content: '优词 AI';
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--fg-dim);
    margin-bottom: 2px;
  }

  .vpn-compare-dim {
    font-size: 13px;
    padding: 10px 14px;
    background: rgba(13, 148, 136, 0.04);
  }
}
