/* Pricing Element Styles */

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.pricing-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 700;
}

.pricing-header p {
  font-size: 1.2rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
}

/* Toggle Switch Styles */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.toggle-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 15px;
  color: #2c3e50;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4285f4;
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.toggle-label.active {
  color: #4285f4;
}

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.pricing-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
  border: 2px solid #4285f4;
  transform: scale(1.05);
}

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

.pricing-card.featured::before {
  content: attr(data-ribbon);
  position: absolute;
  top: 20px;
  right: -30px;
  background: #4285f4;
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 1;
}

.plan-header {
  background: #6366f1;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.plan-name {
  font-size: 1.8rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.plan-websites {
  font-size: 1rem;
  opacity: 0.9;
}

.pricing-display {
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.price-type {
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-container {
  position: relative;
  margin-bottom: 10px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.original-price {
  font-size: 1.2rem;
  color: #95a5a6;
  text-decoration: line-through;
}

.current-price {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
}

.current-price .currency {
  font-size: 1.5rem;
  vertical-align: top;
}

.features-list {
  padding: 30px 20px;
}

.features-list ul {
  list-style: none;
}

.features-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li i {
  color: #27ae60;
  margin-right: 10px;
  margin-top: 3px;
  font-size: 1.1rem;
}

.plan-footer {
  padding: 30px 20px;
  text-align: center;
}

.btn-select {
  width: 100%;
  padding: 16px;
  background-color: #4339CA;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  max-width: 200px;
  margin: 0 auto;
  display: block;
}

.btn-select:hover {
  background-color: #342ca3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 57, 202, 0.25);
}

.btn-select:focus {
  background-color: #4339CA;
  outline: none;
}

.pricing-card.featured .btn-select {
  background-color: #4339CA;
}

.pricing-card.featured .btn-select:hover {
  background-color: #342ca3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 57, 202, 0.25);
}

.pricing-card.featured .btn-select:focus {
  background-color: #4339CA;
  outline: none;
}

/* License Selector Styles */
.plan-footer select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.95rem;
  background-color: white;
  color: #333;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.plan-footer select:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
  .pricing-card {
    max-width: 100%;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .pricing-header h1 {
    font-size: 2.5rem;
  }
  
  .pricing-card {
    min-width: 100%;
  }
}