.plans-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: 'Poppins', sans-serif;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.plans-header {
  text-align: center;
  margin-bottom: 50px;
}

.plans-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #161925;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #0062FF, #00C6FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plans-header p {
  font-size: 20px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.plans-comparison {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 50px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.table-header {
  display: flex;
  background: linear-gradient(135deg, #0062FF, #00C6FF);
  color: white;
  padding: 30px 0;
}

.header-feature {
  flex: 2;
  padding: 0 30px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
}

.header-plan {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.header-plan h3 {
  font-size: 24px;
  margin: 0 0 10px;
}

.plan-price {
  font-size: 36px;
  font-weight: 700;
}

.plan-price span {
  font-size: 16px;
  font-weight: normal;
}

.table-row {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.table-row:nth-child(even) {
  background: rgba(0, 98, 255, 0.03);
}

.row-feature {
  flex: 2;
  padding: 0 30px;
  font-weight: 500;
  color: #555;
}

.row-value {
  flex: 1;
  text-align: center;
  font-weight: 500;
}

.table-footer {
  display: flex;
  padding: 30px 0;
}

.footer-feature {
  flex: 2;
  padding: 0 30px;
}

.footer-plan {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.buy-button {
  background: linear-gradient(135deg, #0062FF, #00C6FF);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 98, 255, 0.3);
  width: 100%;
  max-width: 200px;
}

.buy-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 98, 255, 0.4);
}

.current-plan {
  background: #28a745;
  color: white;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.plan-cards {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.plan-cards h3 {
  font-size: 24px;
  color: #161925;
  text-align: center;
  margin-bottom: 30px;
}

.included-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 30px;
  height: 30px;
  background: rgba(0, 98, 255, 0.1);
  color: #0062FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.feature-text {
  color: #555;
  font-size: 17px;
}

.current-plan-banner {
  background: linear-gradient(135deg, rgba(0, 98, 255, 0.1), rgba(0, 198, 255, 0.1));
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(0, 98, 255, 0.2);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.banner-icon {
  font-size: 40px;
}

.banner-text h4 {
  font-size: 22px;
  color: #161925;
  margin: 0 0 10px;
}

.banner-text p {
  color: #666;
  margin: 0;
}

.banner-button {
  background: linear-gradient(135deg, #0062FF, #00C6FF);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 98, 255, 0.3);
  margin-left: auto;
}

.banner-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 98, 255, 0.4);
}

.buy-button.disabled {
  background: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
  transform: none !important;
}

.buy-button.disabled:hover {
  box-shadow: none;
}

.remove-button {
  background: transparent;
  color: #dc3545;
  border: 2px solid #dc3545;
  border-radius: 8px;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 15px;
}

.remove-button:hover {
  background: rgba(220, 53, 69, 0.1);
  transform: translateY(-3px);
}

.banner-actions {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

@keyframes pulseWarning {
  0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.remove-button {
  animation: pulseWarning 2s infinite;
}

@media (max-width: 1024px) {
  .table-header, .table-row, .table-footer {
    flex-direction: column;
  }
  
  .header-feature, .header-plan,
  .row-feature, .row-value,
  .footer-feature, .footer-plan {
    padding: 15px;
    text-align: center;
  }
  
  .header-plan, .footer-plan {
    margin-top: 20px;
  }
  
  .banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .banner-button {
    margin: 20px auto 0;
  }
}

@media (max-width: 768px) {
  .plans-header h2 {
    font-size: 36px;
  }
  
  .plan-price {
    font-size: 28px;
  }
  
  .included-features {
    grid-template-columns: 1fr;
  }

    .banner-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }
  
  .banner-button, .remove-button {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .plans-header h2 {
    font-size: 32px;
  }
  
  .plans-header p {
    font-size: 18px;
  }
  
  .plan-cards {
    padding: 30px 20px;
  }
  
  .buy-button {
    width: 100%;
    max-width: none;
  }
}