:root {
  --bg: #0a0a12;
  --panel: rgba(20, 18, 40, 0.72);
  --panel-strong: rgba(30, 27, 55, 0.82);
  --stroke: rgba(124, 58, 237, 0.22);
  --stroke-strong: rgba(168, 130, 255, 0.42);
  --text: #e8e6f4;
  --muted: #a6a3bc;
  --violet: #a855f7;
  --violet-dark: #7c3aed;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  background: linear-gradient(170deg, #12102a 0%, #0a0a12 50%, #0f0d20 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.container,
.pricing-container {
  width: min(100% - 40px, 1100px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 18, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(168, 130, 255, 0.3), transparent);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet), #d946ef);
  color: #fff;
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.24);
}

.brand-badge svg {
  width: 16px;
  height: 16px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  font-weight: 800;
}

.brand-wordmark span:first-child {
  color: rgba(255, 255, 255, 0.85);
}

.brand-wordmark span:last-child {
  color: rgba(255, 255, 255, 0.42);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a:hover {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav a svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.hero {
  min-height: 480px;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #0a0a12);
  z-index: 1;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  min-width: 300px;
  max-width: 560px;
}

.hero-right {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 12px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-outline {
  border: 1px solid rgba(168, 130, 255, 0.42);
  color: #c7b6f2;
  background: rgba(124, 58, 237, 0.08);
}

.badge-fill {
  color: #fff;
  background: linear-gradient(135deg, var(--violet-dark), var(--violet));
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.28);
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.gradient-text {
  background: linear-gradient(90deg, #b983ff, #8b5cf6, #85d6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 34px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--violet-dark), var(--violet));
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(124, 58, 237, 0.42);
}

.qr {
  width: min(100%, 380px);
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(124, 58, 237, 0.18));
}

.section {
  padding: 42px 0;
  position: relative;
  z-index: 1;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
  margin: 0 20px;
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card:hover {
  border-color: rgba(124, 58, 237, 0.45);
}

.section-title,
.section-title2 {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-title2 {
  text-align: center;
}

.vpn-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.vpn-info {
  min-width: 200px;
}

.vpn-locations-block {
  flex: 1;
  min-width: 220px;
}

.vpn-price-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 10px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.price-tag2 {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--violet-dark), var(--violet));
  color: #fff;
}

.price-period {
  color: #a0a0c0;
  font-size: 0.86rem;
}

.muted-center {
  text-align: center;
}

.vpn-trial {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #a0a0c0;
  font-size: 0.85rem;
  font-style: italic;
}

.locations-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #a0a0c0;
}

.locations-label strong {
  color: #e0e0f0;
  font-size: 1.05rem;
}

.country-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(30, 27, 55, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.15);
  font-size: 0.84rem;
  color: #c8c8e0;
  white-space: nowrap;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.country-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 130, 255, 0.6);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
  background: rgba(50, 40, 90, 0.8);
}

.country-chip .flag {
  font-size: 1rem;
}

.pricing-section {
  padding: 60px 0 80px;
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.pricing-card {
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 18px;
  background: rgba(20, 18, 40, 0.7);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(to bottom, rgba(124, 58, 237, 0.45), rgba(20, 18, 40, 0.82));
  transform: scale(1.03);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  border-color: rgba(168, 130, 255, 0.36);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.price {
  position: relative;
  display: inline-block;
  padding-right: 0.52em;
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin: 20px 0 10px;
  letter-spacing: -0.015em;
  line-height: 1;
}

.price-value {
  display: inline-block;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.01em;
}

.currency {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-2px);
}

.features-list {
  text-align: left;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.features-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #c8c8e0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-list li::before {
  content: "✓";
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.btn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: all 0.3s;
}

.btn-secondary {
  background: rgba(30, 27, 55, 0.72);
  color: #fff;
}

.btn-secondary:hover {
  border-color: rgba(168, 130, 255, 0.55);
  background: rgba(40, 34, 74, 0.92);
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet-dark), var(--violet));
  color: white;
  border-color: rgba(168, 130, 255, 0.36);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.28);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container,
  .pricing-container {
    width: min(100% - 20px, 1100px);
  }

  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
    min-height: auto;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .hero-layout {
    flex-direction: column;
    gap: 26px;
  }

  .hero-right {
    flex: none;
    width: 100%;
  }

  .qr {
    width: min(100%, 300px);
  }

  .glass-card {
    padding: 22px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
