/* VPN Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
  --red: #DA022A;
  --red-dark: #B71C1C;
  --red-light: #EF5350;
  --gray-dark: #1B1F23;
  --gray: #4A5568;
  --gray-light: #718096;
  --gray-lighter: #E5E7EB;
  --white: #FFFFFF;
}

.vpn-page {
  font-family: "Mulish", sans-serif;
  background: #0A0E13;
  color: var(--white);
  min-height: 100vh;
}

/* Hero Section */
.vpn-hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #0A0E13 0%, #1A1F2E 100%);
  overflow: hidden;
}

.vpn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(218, 2, 42, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.vpn-hero__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

.vpn-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vpn-hero__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(218, 2, 42, 0.2);
  border: 1px solid rgba(218, 2, 42, 0.4);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red-light);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.vpn-hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: -1px;
}

.vpn-hero__title .highlight {
  color: var(--red);
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vpn-hero__text {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 560px;
}

.vpn-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.vpn-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.vpn-btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(218, 2, 42, 0.3);
}

.vpn-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(218, 2, 42, 0.4);
}

.vpn-btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.vpn-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.vpn-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vpn-hero__visual img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(218, 2, 42, 0.2));
}

/* Features Section */
.vpn-features {
  padding: 100px 0;
  background: #0F1419;
}

.vpn-features__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
}

.vpn-features__header {
  text-align: center;
  margin-bottom: 64px;
}

.vpn-features__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.vpn-features__title .highlight {
  color: var(--red);
}

.vpn-features__subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.vpn-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.vpn-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.vpn-feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(218, 2, 42, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.vpn-feature-card__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(218, 2, 42, 0.2) 0%, rgba(218, 2, 42, 0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(218, 2, 42, 0.3);
}

.vpn-feature-card__icon img {
  width: 32px;
  height: 32px;
}

.vpn-feature-card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.vpn-feature-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* How It Works - Roadmap Style */
.vpn-how {
  padding: 100px 0;
  background: #0A0E13;
}

.vpn-how__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
}

.vpn-how__header {
  text-align: center;
  margin-bottom: 80px;
}

.vpn-how__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.vpn-how__title .highlight {
  color: var(--red);
}

.vpn-roadmap {
  position: relative;
  padding: 80px 0 60px;
}

.vpn-roadmap__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
  pointer-events: none;
}

.roadmap-svg {
  width: 100%;
  height: 100%;
}

.roadmap-line {
  animation: drawRoadmap 3s ease forwards;
}

.roadmap-connector {
  animation: drawConnector 1s ease forwards;
  animation-delay: 3s;
}

.roadmap-connector:nth-child(3) {
  animation-delay: 3.2s;
}

.roadmap-connector:nth-child(4) {
  animation-delay: 3.4s;
}

.roadmap-connector:nth-child(5) {
  animation-delay: 3.6s;
}

@keyframes drawRoadmap {
  0% {
    stroke-dashoffset: 900;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes drawConnector {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.vpn-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
  align-items: start;
}

.vpn-step {
  position: relative;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
  animation: stepAppear 0.8s ease forwards;
}

.vpn-step[data-step="1"] {
  animation-delay: 0.5s;
}

.vpn-step[data-step="2"] {
  animation-delay: 1s;
}

.vpn-step[data-step="3"] {
  animation-delay: 1.5s;
}

.vpn-step[data-step="4"] {
  animation-delay: 2s;
}

@keyframes stepAppear {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.vpn-step__connector {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  margin-top: 0;
  margin-bottom: auto;
  align-self: center;
  background: #0A0E13;
  border: 3px solid var(--red);
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 0 8px rgba(218, 2, 42, 0.2), 0 0 20px rgba(218, 2, 42, 0.4);
  opacity: 0;
  animation: connectorAppear 0.5s ease forwards, connectorPulse 2s ease-in-out infinite;
  position: relative;
  top: -40px;
}

.vpn-step__connector[data-connector="1"] {
  animation-delay: 3.2s, 3.7s;
}

.vpn-step__connector[data-connector="2"] {
  animation-delay: 3.4s, 3.9s;
}

.vpn-step__connector[data-connector="3"] {
  animation-delay: 3.6s, 4.1s;
}

.vpn-step__connector.active {
  background: var(--red);
  box-shadow: 0 0 0 12px rgba(218, 2, 42, 0.3), 0 0 30px rgba(218, 2, 42, 0.6);
  animation: connectorAppear 0.5s ease forwards, connectorActive 1.5s ease-in-out infinite;
}

@keyframes connectorAppear {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes connectorPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

@keyframes connectorActive {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
  }
}

.vpn-step__number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(218, 2, 42, 0.3);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.vpn-step.active .vpn-step__number {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(218, 2, 42, 0.5);
}

.vpn-step__content {
  margin-top: 20px;
}

.vpn-step__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.vpn-step__text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* CTA Section */
.vpn-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(218, 2, 42, 0.1) 0%, rgba(218, 2, 42, 0.05) 100%);
  border-top: 1px solid rgba(218, 2, 42, 0.2);
  border-bottom: 1px solid rgba(218, 2, 42, 0.2);
}

.vpn-cta__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}

.vpn-cta__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
}

.vpn-cta__text {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.vpn-faq {
  padding: 100px 0;
  background: #0F1419;
}

.vpn-faq__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
}

.vpn-faq__header {
  text-align: center;
  margin-bottom: 64px;
}

.vpn-faq__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.vpn-faq__title .highlight {
  color: var(--red);
}

.vpn-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.vpn-faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.vpn-faq-item:hover {
  border-color: rgba(218, 2, 42, 0.3);
}

.vpn-faq-item__question {
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.vpn-faq-item__question::after {
  content: '+';
  font-size: 24px;
  color: var(--red);
  transition: transform 0.3s ease;
}

.vpn-faq-item.active .vpn-faq-item__question::after {
  transform: rotate(45deg);
}

.vpn-faq-item__answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.vpn-faq-item.active .vpn-faq-item__answer {
  padding: 0 24px 24px;
  max-height: 500px;
}

/* Network Visualization Section */
.vpn-network {
  padding: 100px 0;
  background: #0A0E13;
  color: #FFFFFF;
}

.vpn-network__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
}

.vpn-network__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.vpn-network__text {
  max-width: 500px;
}

.vpn-network__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.vpn-network__title .highlight {
  color: var(--red);
}

.vpn-network__description {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.vpn-network__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.vpn-network__stat {
  flex: 1;
  min-width: 120px;
}

.vpn-network__stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 8px;
  line-height: 1;
}

.vpn-network__stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vpn-network__visual {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(218, 2, 42, 0.2);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(218, 2, 42, 0.1);
  backdrop-filter: blur(10px);
  min-height: 500px;
}

.spider-web {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.web-svg {
  width: 100%;
  height: 100%;
}

.web-spokes line {
  stroke: rgba(218, 2, 42, 0.4);
  stroke-width: 1.5;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s ease forwards;
  filter: url(#webGlow);
}

.web-spiral circle {
  fill: none;
  stroke: rgba(218, 2, 42, 0.3);
  stroke-width: 1;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawCircle 4s ease forwards;
  filter: url(#webGlow);
}

.web-nodes circle {
  fill: var(--red);
  stroke: #FFFFFF;
  stroke-width: 2;
  opacity: 0;
  animation: nodeAppear 1s ease forwards;
  filter: url(#webGlow);
  cursor: pointer;
  transition: all 0.3s ease;
}

.web-nodes circle:hover {
  r: 6;
  fill: var(--red-light);
}

.web-nodes circle.active {
  r: 8;
  fill: var(--red-light);
  animation: nodePulse 2s ease-in-out infinite;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
}

@keyframes drawCircle {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.3;
  }
}

@keyframes nodeAppear {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes nodePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.3);
  }
}

.world-map {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  background: #000000;
}

.world-map__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: #000000;
}

.world-map__bg-svg {
  width: 100%;
  height: 100%;
}

.world-map__bg-svg path {
  fill: url(#dotPattern);
  stroke: none;
}

.world-map__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.6;
  filter: brightness(0.3) sepia(1) hue-rotate(340deg) saturate(2);
}

.world-map__svg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.server-locations {
  pointer-events: all;
}

.server-location {
  cursor: pointer;
  opacity: 0.3;
  transition: all 0.8s ease;
}

.server-location.active {
  opacity: 1;
}

.server-location__marker {
  transition: all 0.5s ease;
  filter: drop-shadow(0 2px 4px rgba(218, 2, 42, 0.2));
}

.server-location.active .server-location__marker {
  transform: scale(1.4);
  filter: drop-shadow(0 4px 12px rgba(218, 2, 42, 0.6));
}

.server-location__pulse {
  opacity: 0;
  transition: all 0.5s ease;
}

.server-location.active .server-location__pulse {
  opacity: 0.6;
  animation: pulseActive 2s ease-in-out infinite;
}

@keyframes pulseActive {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(2);
  }
}

.server-location:hover .server-location__marker {
  transform: scale(1.5);
  filter: drop-shadow(0 6px 16px rgba(218, 2, 42, 0.8));
}

.server-tooltip {
  position: absolute;
  background: rgba(26, 31, 46, 0.95);
  border: 1px solid rgba(218, 2, 42, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(218, 2, 42, 0.3);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%) translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  left: 0;
  top: 0;
}

.server-tooltip.active {
  opacity: 1;
  transform: translate(-50%, -100%) translateY(-5px);
}

.server-tooltip__city {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.server-tooltip__country {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}


/* Responsive */
@media (max-width: 1024px) {
  .vpn-network__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .vpn-network__text {
    max-width: 100%;
    text-align: center;
  }
  
  .vpn-network__stats {
    justify-content: center;
  }
  
  .spider-web {
    height: 400px;
  }
  .vpn-hero__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .vpn-hero__title {
    font-size: 42px;
  }
  
  .vpn-features__title,
  .vpn-how__title,
  .vpn-cta__title,
  .vpn-faq__title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .vpn-hero {
    padding: 80px 0 60px;
  }
  
  .vpn-hero__container,
  .vpn-features__container,
  .vpn-how__container,
  .vpn-cta__container,
  .vpn-faq__container,
  .vpn-network__container {
    padding: 0 24px;
  }
  
  .vpn-hero__title {
    font-size: 32px;
  }
  
  .vpn-hero__text {
    font-size: 18px;
  }
  
  .vpn-features__grid,
  .vpn-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .vpn-roadmap__line {
    display: none;
  }
  
  .vpn-step__connector {
    display: none;
  }
  
  .vpn-step__number {
    margin-bottom: 20px;
  }
  
  .vpn-features__title,
  .vpn-how__title,
  .vpn-cta__title,
  .vpn-faq__title,
  .vpn-network__title {
    font-size: 28px;
  }
  
  .vpn-network__stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .vpn-network__stat {
    text-align: center;
  }
  
  .spider-web {
    height: 300px;
  }
}

