.pricing-list-wrapper {
  max-width: 900px;
  margin: auto;
  padding-top: 30px;
}
.price-card {
  display: flex;
  position: relative;
  align-items: center;
  margin-bottom: 40px;
  padding: 35px 0;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background-color: var(--theme-bg-gray);
}
.price-card:last-child {
  margin-bottom: 0;
}
.price-card .left {
  width: 50%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.price-card .right {
  width: 50%;
}
.price-card .btn-blue {
  position: absolute;
  right: -60px;
  border-radius: 30px;
  padding: 15px 30px;
  font-weight: 600;
}
.price-card p,
.price-card h2,
.price-card h3 {
  margin: 0;
}
.price-card p {
  max-width: 295px;
  line-height: normal;
}
.price-card h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
}
.price-card h3 {
  margin: 0;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 300;
  max-width: 390px;
  margin: auto;
}
.price-card h3 strong {
  font-weight: 700;
}
.price-card h3 a {
  font-weight: 700;
  color: var(--theme-blue);
  text-decoration: underline;
}
.divider {
  background-color: var(--theme-border);
  height: 100px;
  border-left: 1px solid var(--theme-border);
}

.table-wrapper {
  margin: 50px auto 100px;
  background: white;
  overflow-x: auto;
}

.pricing-comparison-header {
  max-width: 476px;
  margin: 0 auto;
}

.pricing-comparison-header h1 {
  color: #0F1A2B;
  font-size: 32px;
  font-weight: 600;
  line-height: 50.4px;
  text-align: center; 
  margin-bottom: 10px;
}

.pricing-comparison-header p {
  font-size: 16px;
  text-align: center;
  color: #60646f;
  line-height: 27px;
  font-weight: 400;
  margin-bottom: 20px;
}

table {
  width: 100%;
  margin-top: 80px;
}

table tr {
  display: flex;
}

table th,
table td {
  width: 25%;
  min-width: 150px;
}

table th:nth-child(1) {
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
  line-height: 1.3;
  padding: 1rem 10px;
}

table th:nth-child(1) h3 {
  font-size: 24px;
  line-height: 33px;
  color: #0f1a2b;
}

table th:nth-child(1) svg {
  width: 22px;
  height: 22px;
}

table th .info {
  position: relative;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid #60646f1a;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

table th .info .heading {
  font-size: 17px;
  font-weight: 600;
  line-height: 30px;
  color: #0f1a2b;
}

table th .info .amount {
  font-size: 15px;
  font-weight: 400;
  line-height: 27px;
  color: #60646f;
  margin-bottom: 35px;
}

table th a {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 27px;
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 16px 31px;
  transition: all 0.2s;
  background-color: #3da5ff;
}
table th a:hover {
  color: #fff;
}
table td {
  padding: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 27px;
  color: #60646f;
}

table td:first-child {
  font-size: 1rem;
  text-align: left;
}

table svg {
  width: 18px;
  height: 18px;
}

table tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

/* Responsive Design */
@media (max-width: 980px) {
  table td:first-child {
    text-align: right;
  }

  table thead {
    display: none;
  }

  table,
  table tbody,
  table tr,
  table td {
    display: block;
    width: 100%;
  }

  table tr {
    margin-bottom: 15px;
  }

  table td {
    text-align: right;
    padding: 10px;
    position: relative;
  }

  table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
    text-align: left;
  }

  button, a {
    width: 100%;
    margin-top: 10px;
  }
}

@media screen and (min-width: 780px) {
  table td {
    padding: 20px;
  }
}

/* price */

.pricing-container {
  text-align: center;
}

.pricing-header {
  max-width: 476px;
  margin: 0 auto;
}

.pricing-contact {
  text-align: center;
}

.pricing-header h1 {
  color: #0F1A2B;
  font-size: 32px;
  font-weight: 600;
  line-height: 50.4px;
  text-align: center; 
  margin-bottom: 10px;
}

.pricing-header p {
  font-size: 16px;
  text-align: center;
  color: #60646f;
  line-height: 27px;
  font-weight: 400;
  margin-bottom: 20px;
}

.discount {
  font-size: 13px;
  line-height: 23px;
  font-weight: 400;
  color: #0f1a2b;
  margin-bottom: 10px;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background-color: #fafafa;
  border-radius: 24px;
  border: none;
  padding: 36px;

  text-align: center;
  flex: 1;
}

.card h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 33px;
  color: #0f1a2b;
  margin-bottom: 10px;
  text-align: left;
}

.card .price {
  margin-bottom: 10px;
  color: #0f1a2b;
  text-align: left;
}

.card .price h3 {
  display: inline;
  font-size: 34px;
  font-weight: 600;
  line-height: 50px;
}

.card .price span {
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  color: #60646f;
}

.card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  text-align: left;
  color: #60646f;
  margin-bottom: 0px;
}

.card .divider {
  margin: 36px 0px;
  width: 100%;
  height: 2px;
  border-bottom: 2px dashed #60646f;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  margin-bottom: 20px;
}

.card ul li {
  font-size: 15px;
  font-weight: 400;
  line-height: 27px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.card ul li::before {
  content: "\2713";
  color: #60646f;
  font-size: 16px;
  margin-right: 10px;
}

.card a {
  font-size: 15px;
  color: white;
  line-height: 27px;
  padding: 10px 20px;
  background-color: #3da5ff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card a:hover {
  background-color: #0056b3;
}

.pro-plan {
  background-color: #0f1a2b;
  color: white;
}

.pro-plan h2,
.pro-plan .price,
.pro-plan .price span {
  color: #fff;
}

.card.pro-plan p {
  color: #fafafa;
}

.card.pro-plan .divider {
  border-color: #60646f;
  background-color: transparent;
}

.card.pro-plan ul {
  margin-bottom: 10px;
}

.card.pro-plan ul li::before {
  content: "\2713";
  color: #60646f;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;

  width: 19px;
  height: 19px;
  border-radius: 50%;
  font-size: 16px;
  margin-right: 10px;
}

.switch-wrapper {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border: 1px solid #60646f33;
  margin-bottom: 40px;
  border-radius: 30px;
  background: white;
}

.switch-wrapper [type="radio"] {
  position: absolute;
  left: -9999px;
}

.switch-wrapper [type="radio"]:checked#monthly ~ label[for="monthly"],
.switch-wrapper [type="radio"]:checked#yearly ~ label[for="yearly"] {
  color: white;
}

.switch-wrapper [type="radio"]:checked#monthly ~ label[for="monthly"]:hover,
.switch-wrapper [type="radio"]:checked#yearly ~ label[for="yearly"]:hover {
  background: transparent;
}

.switch-wrapper
  [type="radio"]:checked#monthly
  + label[for="yearly"]
  ~ .highlighter {
  transform: none;
}

.switch-wrapper
  [type="radio"]:checked#yearly
  + label[for="monthly"]
  ~ .highlighter {
  transform: translateX(100%);
}

.switch-wrapper label {
  font-size: 15px;
  font-weight: 600;
  z-index: 1;
  min-width: 117px;
  line-height: 27px;
  cursor: pointer;
  border-radius: 100px;
  padding: 10px 15px;
  transition: color 0.25s ease-in-out;
}

.switch-wrapper .highlighter {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
  border-radius: 100px;
  background: #3da5ff;
  transition: transform 0.25s ease-in-out;
}

@media (max-width: 980px) {
  .pricing-cards {
    flex-direction: column;
  }
}
