* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background: #f9fafc;
  color: #333;
  line-height: 1.6;
}

.header {
  text-align: center;
  padding: 2rem 1rem;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.header p {
  color: #555;
  margin-bottom: 1.5rem;
}

.toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.toggle-wrapper span {
  cursor: pointer;
  transition: color 0.3s;
}

.toggle-wrapper .active {
  color: #2563eb;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 24px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked+.slider {
  background-color: #2563eb;
}

input:checked+.slider:before {
  transform: translateX(26px);
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.plan-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-card.featured {
  border: 2px solid #2563eb;
}

.plan-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: #2563eb;
}
.price {
  font-size: 2rem;
  margin: 1rem 0;
  color: #111;
  text-align: center;
}

.price span {
  font-size: 1rem;
  color: #555;
}

.price .old {
  font-size: 1rem;
  color: #888;
  text-decoration: line-through;
  margin-right: 8px;
}

.plan-card ul {
  list-style: none;
  text-align: left;
  margin: 1rem 0;
  width: 100%;
}

.plan-card ul li {
  margin: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.plan-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2563eb;
}

.btn {
  margin-top: auto;
  background: #2563eb;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #1e40af;
}

.badge {
  display: none;
  /* hidden by default */
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f59e0b;
  color: #fff;
  padding: 4px 8px;
  font-size: 0.8rem;
  border-radius: 20px;
  font-weight: 600;
}

.plan-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}