* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  padding: 2rem;
  color: #444;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tab {
  padding: 0.8rem 1.5rem;
  background: #b700ff;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 0, 200, 0.4);
  cursor: pointer;
}

.toggle-group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.toggle-wrapper {
  display: flex;
  align-items: center;
  font-size: 18px;
  gap: 10px;
}

.toggle-wrapper input {
  display: none;
}

.slider {
  width: 50px;
  height: 25px;
  background: #007bff;
  border-radius: 30px;
  position: relative;
  transition: 0.3s;
  cursor: pointer;
}

.slider::before {
  content: '';
  position: absolute;
  width: 21px;
  height: 21px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: 0.3s;
}

input:checked + .slider::before {
  transform: translateX(25px);
}

.cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.card {
  flex: 1;
  min-width: 280px;
  background: white;
  border-radius: 15px;
  border: 3px solid #0055ff;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(200, 200, 255, 0.3);
  transition: 0.3s ease;
}

.card h4 {
  font-weight: bold;
  color: #444;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.card h2 {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

.bold {
  font-weight: bold;
  color: #333;
}

.pink {
  color: #8400ff;
}

.card ul {
  list-style: none;
  margin-bottom: 1rem;
}

.card ul li {
  margin: 0.4rem 0;
  font-size: 15px;
}

.card p {
  font-weight: 600;
  margin: 1rem 0;
}

.btn {
  background: linear-gradient(90deg, #003bff, #b700ff);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.btn:hover {
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  .tabs {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .toggle-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .toggle-wrapper {
    font-size: 16px;
  }

  .slider {
    width: 45px;
    height: 22px;
  }

  .slider::before {
    width: 18px;
    height: 18px;
  }

  input:checked + .slider::before {
    transform: translateX(23px);
  }

  .card h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .btn {
    width: 100%;
    padding: 0.9rem 1.2rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 1rem;
  }

  .tab {
    font-size: 14px;
    padding: 0.6rem 1.2rem;
  }

  .card ul li {
    font-size: 14px;
  }

  .card h4 {
    font-size: 1rem;
    text-align: center;
  }

  .card p {
    font-size: 14px;
    text-align: center;
  }

  .btn {
    font-size: 14px;
  }
}
