/* ====== GLOBAL STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #f6ebf2;
    color: #0f0909;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 15px;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* ====== HEADER ====== */
header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2.6rem;
  font-weight: 600;
  color: #070707;
}

header p {
  font-size: 1.1rem;
  color: #171616;
  margin-top: 10px;
}

/* ====== TOGGLE SWITCH ====== */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.toggle-container span {
  font-weight: 500;
  color: #000000;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #ff00d0;
}

input:checked + .slider::before {
  transform: translateX(30px);
}



/* ====== PRICING CARDS ====== */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.card,
.card-popular {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  width: 320px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.card:hover,
.card-popular:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card-header {
  text-align: center;
  padding: 30px 20px 20px;
}

/*.plan-icon {
  font-size: 35px;
  color: #f41ac1;
  margin-bottom: 10px;
}*/

.plan-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(199, 24, 176, 0.2), rgba(241, 116, 222, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.plan-icon i {
  font-size: 1.8rem;
  color: #ff00d0;
}



.card-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin: 5px 0 10px;
}

.price .currency {
  font-size: 1.9rem;
  font-weight: 600;
}

.price .amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
}

.price .period {
  font-size: 1rem;
  color: #666;
}

.description {
  color: #666;
  font-size: 0.95rem;
  margin-top: 5px;
}

/* ====== FEATURES ====== */
.card-body {
  padding: 20px 25px;
  flex-grow: 1;
}

.features {
  list-style: none;
}

.features li {
  padding: 10px 0;
  font-size: 0.95rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.features i {
  color: #e413fc;
  font-size: 14px;
}

/* ====== BUTTONS ====== */
.card-footer {
  text-align: center;
  padding: 25px;
}

.btn {
  background: #f0f0f0;
  color: #333;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background: #f47dec;
}



.btn-accent {
  background: #ea19f9;
  color: #fff;
}



.btn-accent:hover {
  background-color: #ea19f9;
  border-color: #ea19f9;
}

/* ====== POPULAR PLAN ====== */
.card-popular {
  border: 2px solid #e710ebf5;
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff00d9;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}




@media (max-width: 768px) {
  body {
    padding: 30px 15px;
  }

  header {
    margin-bottom: 30px;
  }

  header h1 {
    font-size: 2rem;
  }

  .pricing-cards {
    /* use flex-column on small screens instead of grid properties */
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 40px;
    gap: 20px;
  }

  .card,
  .card-popular {
    /* make cards full-width but constrained for mobile */
    transform: none;
    width: 100%;
    max-width: 420px;
  }
  .card:hover,
  .card-popular:hover {
    transform: translateY(-5px);
  }

}

@keyframes pulse {
  /* pulse uses the accent color so the glow matches the button */
  0% {
    box-shadow: 0 0 0 0 rgba(234, 25, 249, 0.7);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(234, 25, 249, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(234, 25, 249, 0);
  }
}

.btn-accent {
  animation: pulse 2s infinite;
  animation-timing-function: ease-out;
}