@charset "utf-8";
/* CSS Document */

/* Pricing Toggle */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  background-color: transparent;
}

.pricing-toggle .toggle-label {
  font-size: 0.95rem;
  color: #555;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 26px;
}

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

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

.slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background-color: #28a745;
}

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

/* Package Cards */
.package-card {
  border: 3px solid #e2e2e2;
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-color: transparent;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-header {
  background-color: #DFF8FF;
  border-radius: 20px 20px 0px 0px;
  border-bottom: 3px solid #ddd;
  padding: 1.5rem 1rem;
}

.package-title {
  font-weight: 700;
  font-size: 1.2rem;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
}

.package-onetime,
.package-subprice {
  font-size: 0.85rem;
  color: #666;
}

/* Feature Lists */
.package-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.package-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

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

/* Popular Card */
.package-card.basic {
  border: 3px solid #4D5666;
  position: relative;
}

.package-card.popular {
  border: 3px solid #836518;
  position: relative;
}

.package-card.obsidian {
  border: 3px solid #000000;
  position: relative;
}

/* Ribbons */
.basic-ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #7a869a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 5px;
  z-index: 10;
}

.popular-ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #e6c87a;
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 5px;
  z-index: 10;
}

.obsidian-ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #23272D;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 5px;
  z-index: 10;
}

/* Button Mods */
.btn-obsidian {
  color: #fff;
  background-color: #9A27A7;   /* base purple */
  border-color: #641D79;
}

.btn-obsidian:hover,
.btn-obsidian:focus {
  color: #fff;
  background-color: #63196B;   /* darker on hover */
  border-color: #140516;
}

.btn-obsidian:active,
.btn-obsidian.active {
  color: #fff;
  background-color: #C84FD6;
  border-color: #641D79;
}

.btn-obsidian:disabled,
.btn-obsidian.disabled {
  background-color: #9A27A7;
  border-color: #641D79;
  opacity: 0.65;
}

/* Footer */
.card-footer .btn {
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Comparison Table */
.comparison-table,
.card {
  background-color: transparent;
}

.comparison-table th,
.comparison-table td {
  text-align: center;
  vertical-align: middle;
  font-size: 0.9rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.comparison-table thead th {
  background-color: #f4f4f4;
}

@media (max-width: 767.98px) {
  .package-price {
    font-size: 1.35rem;
  }

  .basic-ribbon,
  .popular-ribbon,
  .obsidian-ribbon {
    font-size: 0.7rem;
    padding: 5px 8px;
  }

}
