/* ===== Pricing Page Container ===== */
.pricing-page {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* ===== Pricing Header ===== */
.pricing-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.pricing-header-content {
  max-width: 750px;
  margin: 0 auto;
}

.pricing-title {
  font-weight: 800;
  font-size: 2.8rem;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.pricing-title .highlight {
  color: #8ab4f8;
}

.pricing-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Pricing Features Row ===== */
.pricing-features {
  margin-bottom: 2.5rem;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition: all 0.3s;
}

.pricing-feature-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(138, 180, 248, 0.08);
}

.pricing-feature-item i {
  font-size: 1.5rem;
  color: #8ab4f8;
  flex-shrink: 0;
}

.pricing-feature-item h6 {
  font-weight: 600;
  font-size: 0.85rem;
  color: #ffffff;
  margin: 0;
}

.pricing-feature-item p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  margin: 0;
}

/* ===== Billing Toggle ===== */
.billing-toggle-wrapper {
  text-align: center;
  margin-bottom: 2.5rem;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 40px;
}

.billing-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 500;
}

.billing-label.yearly-label {
  color: rgba(255, 255, 255, 0.5);
}

.billing-label.active {
  color: #ffffff;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 28px;
  cursor: pointer;
}

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

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  transition: all 0.3s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 4px;
  bottom: 4px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.save-badge {
  display: inline-block;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.1rem 0.6rem;
  border-radius: 20px;
  margin-left: 0.3rem;
}

.billing-note {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ===== Pricing Cards ===== */
.pricing-cards {
  margin-bottom: 2.5rem;
}

.pricing-card {
  padding: 1.5rem !important;
  text-align: center;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: rgba(138, 180, 248, 0.2);
  background: rgba(10, 17, 49, 0.6);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.2rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 1rem;
}

.pricing-card-header h4 {
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.pricing-card-header p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

.pricing-card-price {
  margin-bottom: 1.2rem;
}

.pricing-card-price .currency {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  vertical-align: top;
  margin-top: 0.2rem;
}

.pricing-card-price .price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
}

.pricing-card-price .period {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

.pricing-card-body {
  flex: 1;
  margin-bottom: 1.2rem;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.pricing-features-list li i {
  color: #4ade80;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.pricing-card-footer {
  margin-top: auto;
}

.btn-pricing {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  font-size: 0.85rem;
  color: #ffffff;
  transition: all 0.3s;
  width: 100%;
}

.btn-pricing:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-pricing.primary {
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  border: none;
  color: #ffffff;
}

.btn-pricing.primary:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(83, 100, 247, 0.3);
}

/* ===== Trust Badges ===== */
.pricing-trust {
  margin-bottom: 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}

.trust-item i {
  font-size: 1.5rem;
  color: #8ab4f8;
  flex-shrink: 0;
}

.trust-item h6 {
  font-weight: 600;
  font-size: 0.85rem;
  color: #ffffff;
  margin: 0;
}

.trust-item p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin: 0;
}

/* ===== Help Section ===== */
.pricing-help {
  background: rgba(10, 17, 49, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 1.5rem 2rem;
}

.pricing-help-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-help-content i {
  font-size: 2rem;
  color: #8ab4f8;
}

.pricing-help-content h5 {
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  margin: 0;
}

.pricing-help-content p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin: 0;
}

.btn-help {
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  font-size: 0.85rem;
  color: #ffffff;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-help:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(83, 100, 247, 0.3);
  color: #ffffff;
}

.btn-help i {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.btn-help:hover i {
  transform: translateX(3px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
  .pricing-title {
    font-size: 2.2rem;
  }
  
  .pricing-card .price {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .pricing-title {
    font-size: 1.8rem;
  }
  
  .pricing-header {
    margin-bottom: 1.8rem;
  }
  
  .pricing-features {
    margin-bottom: 1.8rem;
  }
  
  .pricing-feature-item {
    padding: 0.6rem 0.8rem;
  }
  
  .pricing-feature-item i {
    font-size: 1.2rem;
  }
  
  .pricing-feature-item h6 {
    font-size: 0.75rem;
  }
  
  .pricing-feature-item p {
    font-size: 0.65rem;
  }
  
  .pricing-card .price {
    font-size: 2rem;
  }
  
  .billing-toggle-wrapper {
    margin-bottom: 1.8rem;
  }
  
  .pricing-help-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .pricing-title {
    font-size: 1.5rem;
  }
  
  .pricing-description {
    font-size: 0.85rem;
  }
  
  .pricing-card {
    padding: 1.2rem !important;
  }
  
  .pricing-card .price {
    font-size: 1.8rem;
  }
  
  .pricing-features-list li {
    font-size: 0.75rem;
  }
  
  .popular-badge {
    font-size: 0.5rem;
    padding: 0.15rem 0.8rem;
  }
  
  .billing-toggle {
    padding: 0.3rem 0.6rem;
    gap: 0.6rem;
  }
  
  .billing-label {
    font-size: 0.75rem;
  }
  
  .toggle-switch {
    width: 40px;
    height: 24px;
  }
  
  .toggle-slider::before {
    width: 16px;
    height: 16px;
    left: 4px;
    bottom: 4px;
  }
  
  .toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(16px);
  }
  
  .save-badge {
    font-size: 0.5rem;
  }
}