@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all ease-in-out 250ms;
}

:root {
  --SoftCyan: hsl(174, 77%, 80%);
  --StrongCyan: hsl(174, 86%, 45%);
  --LightGrayishRed: hsl(14, 92%, 95%);
  --LightRed: hsl(15, 100%, 70%);
  --PaleBlue: hsl(226, 100%, 87%);
  --White: hsl(0, 0%, 100%);
  --VeryPaleBlue: hsl(230, 100%, 99%);
  --LightGrayishBlue: hsl(224, 65%, 95%);
  --LightGrayishBlue2: hsl(223, 50%, 87%);
  --GrayishBlue: hsl(225, 20%, 60%);
  --DarkDesaturatedBlue: hsl(227, 35%, 25%);
  --heading-size: 2rem;
}

body {
  font-family: "Manrope", sans-serif;
  background-image: url("images/bg-pattern.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--LightGrayishBlue);
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

@media (width > 960px) {
  .slider-section {
    /*display: grid;
    grid-template-columns: 1fr, 2fr;
    gap: 0.5rem;*/
    display: flex;
    flex-direction: column;
  }


}

.pricing-container {
  background-color: var(--White);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.header {
  margin-bottom: 40px;
  text-align: center;

  h2 {
    margin-top: -25%;
  }
}

h2 {
  color: var(--DarkDesaturatedBlue);
  font-size: 24px;
  margin-bottom: 10px;
}

.subtitle {
  color: var(--GrayishBlue);
  font-size: 14px;
}

/* Slider Section */
.slider-section {
  margin-bottom: 40px;
}

.pageviews {
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--GrayishBlue);
  margin-bottom: 30px;
}

.price {
  color: var(--DarkDesaturatedBlue);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.price span {
  color: var(--GrayishBlue);
  font-size: 14px;
  font-weight: normal;
}

.slider-container {
  margin-bottom: 40px;
}

.slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--LightGrayishBlue);
  border-radius: 5px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--StrongCyan);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="14" viewBox="0 0 24 14"><path fill="%23FFFFFF" d="M12 0L24 14H0z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(16, 213, 194, 0.5);
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 12px;
  color: #858fad;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--LightGrayishBlue);
  transition: 0.4s;
  border-radius: 20px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--White);
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--StrongCyan);
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.discount-badge {
  background-color: #feece7;
  color: #ff8c66;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: bold;
}

/* Features Section */
.features {
  border-top: 1px solid #eaeefb;
  padding-top: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: var(--GrayishBlue);
}

.feature:before {
  content: "✓";
  color: var(--StrongCyan);
  margin-right: 10px;
  font-weight: bold;
}

/* CTA Button */
.cta-button {
  background-color: var(--DarkDesaturatedBlue);
  color: var(--White);
  border: none;
  border-radius: 20px;
  padding: 12px 40px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: var(--DarkDesaturatedBlue);
}
