:root {
  --black: #000000;
  --white: #ffffff;
  --gray-1: #f8f8f8;
  --gray-2: #eeeeee;
  --gray-3: #cccccc;
  --gray-4: #777777;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
  margin: 0;
  padding: 0;
}



/* === PRICING HEADER === */
.pricing-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
  background: var(--white);
  margin-top: 4rem;
}

.pricing-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.pricing-header p {
  font-size: 1.1rem;
  color: var(--gray-4);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* === TOGGLE === */
.toggle-container {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  max-width: 300px;
  padding: 5px;
  border-radius: 50px;
  background: var(--gray-1);
  border: 1px solid var(--gray-3);
  position: relative;
}

.toggle-option {
  flex: 1;
  text-align: center;
  padding: 0.8rem 1rem;
  cursor: pointer;
  font-weight: 500;
  border-radius: 50px;
  color: var(--gray-4);
  z-index: 1;
  transition: all 0.3s ease;
}

.toggle-option.active {
  color: var(--white);
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 4px);
  height: calc(100% - 4px);
  background: var(--black);
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  will-change: transform;
  transform-origin: center;
}

.toggle:hover .toggle-slider {
  transform: scale(1.02);
}

.toggle:active .toggle-slider {
  transform: scale(0.98);
}

/* === PLANS CONTAINER === */
.plans-container {
  display: none;
  max-width: 83vw;
  margin: 0 auto;
  padding: 1.5rem;
}


.plans-container.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  place-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .plans-container.weekly-plans.active {
    max-width: 50vw;
  }
}

.monthly-plans {
  align-items: flex-start;
  gap: 20px;
}

.monthly-plans .feature-list {
  min-height: 15rem;
}

/* === PLAN CARD === */
.plan-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  z-index: 2;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.highlight-card {
  border: 1px solid var(--black);
  position: relative;
}

.highlight-badge {
  position: absolute;
  top: -18px;
  right: 16px;
  background: var(--black);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* === PLAN HEADER === */
.plan-header {
  text-align: center;
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--gray-2);
  margin-bottom: 24px;
}

.plan-icon {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 1rem;
}

.plan-icon i {
  font-size: 30px;
  color: #000;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 12px 0 4px;
}

/* === PRICING === */
.plan-price {
  font-size: 1.25rem;
  font-weight: 600;
}

.plan-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: #555;
}

/* === REQUESTS === */
.plan-requests {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.5px;
  margin: 4px 0 1rem;
}

/* === FEATURES === */
.plan-features {
  padding: 1.5rem 2rem;
  margin-top: 20px;
  position: relative;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.plan-features li::before {
  content: "•";
  color: var(--black);
  margin-right: 0.75rem;
  font-weight: bold;
}

.plan-features li.hidden-feature {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.plan-features li.visible-feature {
  max-height: 100px;
  opacity: 1;
  padding: 0.5rem 0;
}

.feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #000;
  font-family: 'Segoe UI', sans-serif;
}

.feature-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 14px;
  color: #444;
  margin: 4px 0 0;
}

.bullet {
  display: inline-block;
  margin-right: 0.5em;
  color: var(--black);
  font-size: 1.2em;
  line-height: 1;
}

.checkmark {
  font-weight: bold;
  margin-right: 10px;
  color: var(--black);
}

/* === BUTTON === */
.plan-button {
  display: block;
  margin-top: 28px;
  padding: 12px 0;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.plan-button:hover {
  background-color: #333;
}

/* === SHOW MORE === */
.show-more {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: var(--black);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-top: 1rem;
  transition: all 0.3s ease;
}

.show-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 1px;
  background: var(--gray-2);
  transition: all 0.3s ease;
}

.show-more:hover {
  color: var(--gray-4);
}

.show-more:hover::before {
  background: var(--gray-3);
}

.show-more i {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.show-more.expanded i {
  transform: rotate(180deg);
}

/* === EXTRA FEATURES === */
.extra-features {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.6s ease, opacity 0.5s ease;
}

.extra-features.show {
  max-height: 1000px;
  opacity: 1;
  pointer-events: all;
}

.extra-features .feature {
  opacity: 0;
  transform: translateY(10px);
  animation: slideIn 0.5s ease forwards;
}

.extra-features.show .feature:nth-child(1) { animation-delay: 0.1s; }
.extra-features.show .feature:nth-child(2) { animation-delay: 0.2s; }
.extra-features.show .feature:nth-child(3) { animation-delay: 0.3s; }
.extra-features.show .feature:nth-child(4) { animation-delay: 0.4s; }
.extra-features.show .feature:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === GRID WRAPPER === */
.plan-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
  grid-auto-rows: min-content;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .plans-container {
    padding: 1rem;
    grid-template-columns: 1fr;
  }

  .plan-card {
    max-width: 350px;
    margin: 0 auto;
  }

  .pricing-header {
    padding: 2rem 1.5rem 1.5rem;
  }

  .pricing-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 400px) {
  .plan-header,
  .plan-features {
    padding-left: 0;
    padding-right: 0;
  }

  .plan-card {
    max-width: 200px;
    margin: 0 auto;
  }
}
