/* ===== FEATURES ===== */
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 252, 0.1);
  border: 1px solid rgba(124, 92, 252, 0.15);
  border-radius: 12px;
  margin-bottom: 1.2rem;
  color: var(--purple);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== LOCATIONS ===== */
.locations-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.location-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.location-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.location-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.location-card:hover::before { opacity: 1; }
.location-flag {
  font-size: 2rem;
  line-height: 1;
  min-width: 40px;
  text-align: center;
}
.location-info {
  flex: 1;
  min-width: 0;
}
.location-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.location-city {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}
.location-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.location-ping {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
}
.location-ping.fast { color: var(--green); }
.location-ping.medium { color: #f59e0b; }
.location-ping.slow { color: #ef4444; }
.location-ping.offline { color: var(--text-dim); }
.ping-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: ping-pulse 2s ease-in-out infinite;
}
.location-ping.offline .ping-dot { animation: none; }
@keyframes ping-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.location-servers {
  font-size: 0.7rem;
  color: var(--text-dim);
}
.location-card.location-skeleton {
  pointer-events: none;
}

/* ===== HOW IT WORKS (Steps) ===== */
.steps-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.steps-container::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--green), transparent);
}
.step-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  position: relative;
}
.step-number {
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 2px solid var(--purple);
  border-radius: 50%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple);
  position: relative;
  z-index: 2;
}
.step-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== TELEGRAM LOGIN ===== */
.tg-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tg-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.tg-card {
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.tg-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(124, 92, 252, 0.04), transparent 50%);
  pointer-events: none;
}
.tg-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(42, 171, 238, 0.3);
}
.tg-icon svg { width: 36px; height: 36px; color: #fff; }
.tg-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.tg-card .desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 25px rgba(42, 171, 238, 0.3);
  text-decoration: none;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}
.tg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(42, 171, 238, 0.4);
}
.tg-btn svg { width: 22px; height: 22px; }
.tg-note {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.tg-note svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 0.3rem;
  color: var(--green);
}

/* ===== TRIAL BANNER ===== */
.trial-banner {
  max-width: 800px;
  margin: 0 auto 2.5rem;
}
.trial-banner-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.1), rgba(52, 211, 153, 0.08));
  border: 1px solid rgba(124, 92, 252, 0.25);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.trial-banner-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 10% 50%, rgba(124, 92, 252, 0.1), transparent 60%);
  pointer-events: none;
}
.trial-banner-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(124, 92, 252, 0.15);
  color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trial-banner-icon svg { width: 24px; height: 24px; }
.trial-banner-text { flex: 1; }
.trial-banner-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}
.trial-banner-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.trial-banner-btn {
  padding: 0.7rem 1.5rem;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(124, 92, 252, 0.3);
}
.trial-banner-btn:hover {
  background: #6a4ce8;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .trial-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem;
    gap: 1rem;
  }
  .trial-banner-btn { width: 100%; text-align: center; }
}

/* ===== PRICING TOGGLE ===== */
.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 0.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.3rem;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  background: transparent;
  border: none;
  border-radius: 11px;
  color: var(--text-dim);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}
.toggle-btn svg { width: 18px; height: 18px; }
.toggle-btn:hover { color: var(--text-secondary); }
.toggle-btn.active {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 2px 12px var(--purple-glow);
}

/* ===== PRICING GRID ===== */
.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

/* ===== PRICE CARD ===== */
.price-card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}
.price-card:hover::before { opacity: 1; }

/* Best value card */
.price-card.best-value {
  border-color: var(--purple);
  background: linear-gradient(180deg, rgba(124, 92, 252, 0.1) 0%, var(--bg-card) 60%);
}
.price-card.best-value::before {
  opacity: 1;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
}

/* Badge */
.price-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1.2rem;
  background: var(--purple);
  border-radius: 0 0 10px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
}

/* Savings badge */
.price-save {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1rem;
  align-self: center;
}
.price-save.price-save-hidden {
  visibility: hidden;
}

.price-duration {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.price-amount {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.2rem;
  line-height: 1.1;
}
.price-amount .currency {
  font-size: 1.4rem;
  vertical-align: top;
  color: var(--text-secondary);
  margin-right: 0.1rem;
}
.price-period {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}
.price-per-month {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}
.price-per-month span {
  color: var(--text-primary);
  font-weight: 700;
}

/* Features */
.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.price-features li svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  min-width: 16px;
}

/* Button */
.price-btn {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
  margin-top: auto;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}
.price-btn:hover {
  background: rgba(124, 92, 252, 0.1);
  border-color: var(--purple);
}
.price-card.best-value .price-btn {
  background: linear-gradient(135deg, var(--purple), #6a4ce8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px var(--purple-glow);
}
.price-card.best-value .price-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(124, 92, 252, 0.4);
}

/* ===== PRICING SKELETON LOADER ===== */
.pricing-skeleton {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.skeleton-line {
  background: linear-gradient(90deg, var(--bg-card-hover) 25%, rgba(124, 92, 252, 0.08) 50%, var(--bg-card-hover) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}
.skeleton-name { width: 60%; height: 1.2rem; }
.skeleton-price { width: 40%; height: 2.5rem; margin: 0.5rem 0; }
.skeleton-period { width: 35%; height: 0.8rem; margin-bottom: 0.5rem; }
.skeleton-feature { width: 80%; height: 1rem; }
.skeleton-btn { width: 100%; height: 2.8rem; margin-top: 0.5rem; }

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== FAQ ===== */
.faq-container {
  max-width: 750px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  transition: transform 0.3s;
  min-width: 20px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--purple); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  background: var(--bg-secondary);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-left svg { width: 24px; height: 24px; }
.footer-left span {
  font-weight: 600;
  font-size: 1rem;
}
.footer-left .accent { color: var(--purple); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--purple-light); }
