.premium {
  padding: 100px 0;
  background-color: var(--bg-color);
  position: relative;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  margin-top: 60px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(42, 42, 42, 0.8) 100%);
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 280px;
  max-width: 340px;
  backdrop-filter: blur(10px);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.3), rgba(88, 101, 242, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(88, 101, 242, 0.3);
  border-color: rgba(88, 101, 242, 0.5);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 12px 48px rgba(88, 101, 242, 0.4);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, var(--card-bg) 100%);
  transform: scale(1.08);
}

.pricing-card.featured::before {
  opacity: 1;
  background: linear-gradient(135deg, var(--primary-color), rgba(88, 101, 242, 0.5));
}

.pricing-card.featured:hover {
  transform: translateY(-12px) scale(1.1);
  box-shadow: 0 24px 72px rgba(88, 101, 242, 0.5);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
  z-index: 10;
}

.pricing-header {
  padding: 40px 30px 30px;
  text-align: center;
  border-bottom: 1px solid rgba(88, 101, 242, 0.2);
  background: rgba(88, 101, 242, 0.05);
}

.pricing-header h3 {
  margin: 0 0 20px;
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 15px;
}

.currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-right: 2px;
}

.amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-color);
  line-height: 1;
  letter-spacing: -2px;
}

.period {
  font-size: 1rem;
  color: var(--text-light);
  margin-left: 6px;
  font-weight: 500;
}

.pricing-features {
  padding: 35px 30px;
  flex-grow: 1;
}

.pricing-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-size: 0.95rem;
  padding-left: 4px;
}

.pricing-features li i {
  color: var(--success-color);
  margin-right: 12px;
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
  background: rgba(87, 242, 135, 0.1);
  padding: 4px;
  border-radius: 50%;
}

.pricing-action {
  padding: 0 30px 35px;
  text-align: center;
}

.pricing-action .btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border: none;
  position: relative;
  overflow: hidden;
}

.pricing-action .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.pricing-action .btn:hover::before {
  left: 100%;
}

.pricing-action .btn:hover {
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.5);
  transform: translateY(-2px);
}

.old-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
  margin-top: 4px;
  opacity: 0.6;
}

.old-price .currency,
.old-price .amount,
.old-price .period {
  text-decoration: line-through;
}

.old-price .currency {
  font-size: 1rem;
}

.old-price .amount {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text-light);
}

.old-price .period {
  font-size: 0.8rem;
}


@media (max-width: 992px) {
  .pricing-grid {
    gap: 30px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    max-width: 400px;
    width: 100%;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}
