/* ===============================
   Pricing Container
   =============================== */
.pricing-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

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

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #1a1a1a;
}

.pricing-subtitle {
  font-size: 0.75rem;
  color: #666;
  margin: 0 0 1.5rem;
}

/* ===============================
   Tab Toggle
   =============================== */
.pricing-toggle {
  display: inline-flex;
  background: #f5f5f5;
  border-radius: 30px;
  padding: 0.25rem;
  gap: 0.15rem;
}

.toggle-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  background: transparent;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.toggle-btn:hover:not(.active) {
  color: #1a1a1a;
}

/* ===============================
   Pricing Grid
   =============================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0.5rem;
}

/* ===============================
   Pricing Card
   =============================== */
.discount-ribbon {
  position: absolute;
  top: 15px;
  right: -20px;
  background: #1a1a1a;
  color: #fff;
  padding: 0.35rem 2rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(40deg);
  transform-origin: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.pricing-card-inverted .discount-ribbon {
  background: #fff;
  color: #1a1a1a;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1.25rem;
  position: relative;
  transition: all 0.3s ease;
  min-height: 420px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #d0d0d0;
}

/* Inverted Card */
.pricing-card-inverted {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.pricing-card-inverted .card-title,
.pricing-card-inverted .price-symbol,
.pricing-card-inverted .price-amount {
  color: #fff;
}

.pricing-card-inverted .feature-list li {
  color: #d0d0d0;
}

.pricing-card-inverted .feature-list li:before {
  color: #10b981;
}

/* Badges */
.badge-popular,
.badge-coming-soon {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.badge-popular {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.badge-coming-soon {
  background: #f59e0b;
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

/* Coming Soon Card */
.coming-soon-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  border: 2px dashed #e5e5e5;
  border-radius: 12px;
  background: #fafafa;
}

.coming-soon-card .card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.coming-soon-card .card-description {
  color: #666;
  font-size: 0.75rem;
}

/* Card Content */
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: #1a1a1a;
}

.card-price {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.price-symbol {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 0.2rem;
}

.price-amount {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
}

/* ===============================
   Discount Pricing Styles
   =============================== */
.price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.discounted-price-row {
  display: flex;
  align-items: flex-start;
}

.original-price {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
  margin-left: 0.3rem;
}

.pricing-card-inverted .original-price {
  color: #666;
}

/* ===============================
   Feature List
   =============================== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  flex-grow: 1;
}

.feature-list li {
  padding: 0.25rem 0;
  font-size: 0.75rem;
  color: #4a4a4a;
  line-height: 1.4;
  padding-left: 1rem;
  position: relative;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  font-size: 0.7rem;
}

/* ===============================
   CTA Button
   =============================== */
.cta-button {
  display: block;
  width: 100%;
  padding: 0.7rem;
  border: 1.5px solid #1a1a1a;
  border-radius: 6px;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-button:hover {
  background: #1a1a1a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cta-inverted {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
}

.cta-inverted:hover {
  background: rgb(226, 254, 169);
  border-color: rgb(226, 254, 169);
  color: #1a1a1a;
}

.cta-disabled {
  background: #e5e5e5;
  color: #999;
  border-color: #e5e5e5;
  cursor: not-allowed;
  opacity: 0.6;
}

.cta-disabled:hover {
  background: #e5e5e5;
  color: #999;
  transform: none;
  box-shadow: none;
}

/* ===============================
   Responsive Design - Stack at 768px and below
   =============================== */
@media (max-width: 1200px) {
  .badge-popular,
  .badge-coming-soon {
    font-size: 0.5rem;
    padding: 0.25rem 0.65rem;
  }
  .feature-list li {
    font-size: 0.6rem;
  }
  .card-title {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .pricing-container {
    padding: 1.5rem 0.75rem;
  }

  .pricing-header {
    margin-bottom: 1.5rem;
  }

  .pricing-title {
    font-size: 1.3rem;
  }

  .pricing-subtitle {
    font-size: 0.7rem;
  }

  .toggle-btn {
    padding: 0.45rem 1.25rem;
    font-size: 0.65rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0 0.25rem;
  }

  .pricing-card {
    padding: 1.5rem;
    min-height: 420px;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .price-amount {
    font-size: 1.8rem;
  }

  .feature-list li {
    font-size: 0.7rem;
  }

  .cta-button {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .pricing-container {
    padding: 1rem 0.5rem;
  }

  .pricing-card {
    padding: 1.25rem;
    min-height: 320px;
  }

  .badge-popular,
  .badge-coming-soon {
    top: -8px;
    font-size: 0.45rem;
    padding: 0.3rem 0.7rem;
  }
}