/* Remove.bg Pricing Page CSS
 * This stylesheet replicates the remove.bg pricing section
 * with responsive design and interactive elements
 */

/* Global Styles */
:root {
  --primary-color: #0069ff;
  --text-color: #333;
  --light-gray: #f4f5f7;
  --medium-gray: #e0e0e0;
  --dark-gray: #6c757d;
  --white: #ffffff;
  --yellow: #ffc107;
  --green: #28a745;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* Navigation */
.removebg-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.removebg-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

.removebg-logo img {
  height: 30px;
  margin-right: 10px;
}

.removebg-nav-links {
  display: flex;
  align-items: center;
}

.removebg-nav-link {
  margin: 0 1rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

.removebg-nav-link:hover {
  color: var(--primary-color);
}

.removebg-dropdown {
  position: relative;
  display: inline-block;
}

.removebg-dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.removebg-dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 0.5em;
  vertical-align: middle;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}

/* Main Pricing Section */
.removebg-pricing-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 1rem;
  position: relative;
}

.removebg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2rem;
  position: relative;
}

/* Pricing Card Styles */
.removebg-pricing-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 1;
}

/* Card overlapping effect for desktop */
.removebg-pricing-card:nth-child(1) {
  margin-right: -10px;
  z-index: 1;
}

.removebg-pricing-card:nth-child(2) {
  z-index: 3;
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.removebg-pricing-card:nth-child(3) {
  margin-left: -10px;
  z-index: 1;
}

.removebg-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  z-index: 4;
}

.removebg-pricing-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.removebg-pricing-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.removebg-pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.removebg-pricing-unit {
  font-size: 1rem;
  color: var(--dark-gray);
}

/* Most Popular Banner */
.removebg-most-popular {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--yellow);
  color: var(--text-color);
  font-weight: 600;
  text-align: center;
  padding: 8px 30px;
  transform: rotate(45deg) translate(29%, -50%);
  transform-origin: top right;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
  width: 150px;
}

/* Updated Pricing Options - Big Checkboxes */
.removebg-pricing-options {
  margin-bottom: 1.5rem;
}

.removebg-pricing-option {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  cursor: pointer;
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  transition: var(--transition);
}

.removebg-pricing-option:hover {
  border-color: var(--primary-color);
  background-color: rgba(0, 105, 255, 0.05);
}

.removebg-pricing-option.active {
  border-color: var(--primary-color);
  background-color: rgba(0, 105, 255, 0.05);
}

.removebg-radio-container {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.removebg-radio {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--medium-gray);
  border-radius: 4px;
  margin-right: 0.5rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.removebg-radio:checked {
  border-color: var(--green);
  background-color: var(--green);
}

.removebg-radio:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.removebg-option-label {
  flex-grow: 1;
}

.removebg-option-price {
  font-weight: 600;
  color: var(--dark-gray);
  margin-left: 0.5rem;
}

/* Button Styles */
.removebg-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  width: 100%;
  margin-top: auto;
}

.removebg-button:hover {
  background-color: #0050c9;
  transform: translateY(-2px);
}

.removebg-button-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.removebg-button-secondary:hover {
  background-color: rgba(0, 105, 255, 0.1);
}

/* Toggle Switch */
.removebg-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.removebg-toggle-label {
  margin: 0 1rem;
  font-weight: 500;
}

.removebg-toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

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

.removebg-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--medium-gray);
  transition: var(--transition);
  border-radius: 24px;
}

.removebg-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .removebg-toggle-slider {
  background-color: var(--primary-color);
}

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

/* Features List */
.removebg-features-list {
  margin-top: 1rem;
}

.removebg-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.removebg-feature-icon {
  margin-right: 0.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.removebg-feature-text {
  font-size: 0.9rem;
}

/* Footer Cards */
.removebg-footer-card {
  background-color: var(--light-gray);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--dark-gray);
  text-align: center;
}

/* Payment Info */
.removebg-payment-info {
  font-size: 0.8rem;
  color: var(--dark-gray);
  text-align: center;
  margin-top: 1rem;
}

/* All Plans Include Section */
.removebg-all-plans {
  margin-top: 3rem;
  border-top: 1px solid var(--medium-gray);
  padding-top: 2rem;
  text-align: center;
}

.removebg-all-plans-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Guarantees Section */
.removebg-guarantees {
  margin-top: 1rem;
}

.removebg-guarantee-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.removebg-guarantee-label {
  font-weight: 600;
  margin-right: 0.5rem;
}

.removebg-info-icon {
  color: var(--dark-gray);
  font-size: 0.8rem;
  cursor: pointer;
  margin-left: 0.5rem;
}

/* Discount Tag */
.removebg-discount-tag {
  display: inline-block;
  background-color: rgba(255, 193, 7, 0.2);
  color: #ff8800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Show More Link */
.removebg-show-more {
  display: block;
  text-align: center;
  color: var(--dark-gray);
  margin: 1rem 0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.removebg-show-more:hover {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .removebg-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .removebg-pricing-card:nth-child(1),
  .removebg-pricing-card:nth-child(2),
  .removebg-pricing-card:nth-child(3) {
    margin-left: 0;
    margin-right: 0;
    transform: none;
    z-index: 1;
  }
  
  .removebg-pricing-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .removebg-pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .removebg-nav {
    flex-direction: column;
    padding: 1rem;
  }
  
  .removebg-nav-links {
    margin-top: 1rem;
    width: 100%;
    justify-content: space-between;
  }
  
  .removebg-nav-link {
    margin: 0 0.5rem;
  }
  
  .removebg-pricing-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }
}

/* Animation for Pricing Cards */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.removebg-pricing-card {
  animation: fadeIn 0.5s ease-out forwards;
}

.removebg-pricing-card:nth-child(1) {
  animation-delay: 0.1s;
}

.removebg-pricing-card:nth-child(2) {
  animation-delay: 0.2s;
}

.removebg-pricing-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Helper Classes */
.removebg-text-center {
  text-align: center;
}

.removebg-mt-auto {
  margin-top: auto;
}

.removebg-bold {
  font-weight: 600;
}

.removebg-blue-text {
  color: var(--primary-color);
}

/* Icon Styles */
.removebg-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.removebg-check-icon {
  color: var(--primary-color);
}

/* High Volume Section */
.removebg-high-volume {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.removebg-high-volume-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.removebg-image-count {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.removebg-learn-more {
  display: block;
  text-align: center;
  color: var(--primary-color);
  text-decoration: none;
  margin-top: 1rem;
  font-weight: 500;
  transition: var(--transition);
}

.removebg-learn-more:hover {
  text-decoration: underline;
}

/* Tooltip Styles */
.removebg-tooltip {
  position: relative;
  display: inline-block;
}

.removebg-tooltip .removebg-tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: var(--text-color);
  color: var(--white);
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.8rem;
}

.removebg-tooltip .removebg-tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--text-color) transparent transparent transparent;
}

.removebg-tooltip:hover .removebg-tooltip-text {
  visibility: visible;
  opacity: 1;
}
