#mf1 {
  padding: 50px 0 90px;
}
#mf1 p {
  line-height: 45px;
  font-size: 18px;
}
#mf2 {
  background-color: #f7f5f1;
  padding: 80px 90px 30px;
  border-radius: 50px;
}

.container {
  background-color: #fff;
  border: 1px solid #ff7784;
  border-radius: 10px;
  position: relative;
}

.tabs {
  display: flex;
  gap: 20px;
  margin-bottom: -5px;
  align-items: flex-end;
}

.tab {
  flex: 1;
  padding: 20px 20px;
  text-align: center;
  background: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
  font-size: 22px;
  font-weight: 500;
  color: #383730;
  border: 1px solid #ff7784;
  transition: all 0.3s ease;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab.active {
  background: #ff6b7d;
  color: white;
  flex: 2;
  font-size: 28px;
  height: 100px;
}

.tab:hover:not(.active) {
  background: #ececec;
}

.tab-content {
  display: none;
}

.tab-content:last-child {
  border-radius: 10px;
  background-color: #fff2e0;
}

.table-container {
  padding: 0 74px 40px;
}

.tab-content.active {
  display: block;
}

.description {
  text-align: center;
  padding: 40px 0 20px;
  font-size: 16px;
  line-height: 1.5;
  color: #383730;
}

.description:last-child {
  background: #fff2e0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.header-row {
  background: #faf5eb;
  color: #ff7784;
  border-bottom: 3px solid #383730;
}

.header-row th {
  padding: 12px 8px;
  font-weight: 500;
  font-size: 20px;
  border-right: 1px solid #a3967e;
  text-align: center;
  width: 25%;
}

.header-row th:last-child {
  border-right: none;
}

.data-header {
  background: #f5ebd9 !important;
  color: #ff7784 !important;
}

tbody tr {
  border-bottom: 1px solid #383730;
}

tbody tr:last-child {
  border-bottom: none;
}

td {
  padding: 12px 8px;
  font-size: 20px;
  text-align: center;
  background: #fff;
  color: #383730;
  border-right: 1px solid #a3967e;
  width: 25%;
}

td:last-child {
  border-right: none;
}

td:first-child {
  font-weight: 500;
  background: #faf5eb;
}

.business-table {
  background: #e3f2fd;
}

.business-table .header-row th,
.business-table td {
  border-right: 2px solid #a3967e;
  width: 50%;
}

.business-table .header-row th:last-child,
.business-table td:last-child {
  border-right: none;
}

.business-table .header-row,
.data-header.tab4 {
  background: #00a0e9 !important;
  color: #fff !important;
}

.business-table td {
  background: #f8fbff;
  padding: 27px 8px;
}

.business-table td:first-child {
  background: #00a0e9;
  color: #fff;
}

.button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px 0 50px;
}
.btn {
  text-align: center;
  background-color: #00a0e9;
  padding: 20px 40px;
  color: #fff !important;
}

.mobile-version {
  display: none;
}

@media (max-width: 1440px) and (min-width: 769px) {
  #mf1 {
    padding: 20px 0 50px;
  }
  #mf1 p {
    font-size: 13px;
  }
  #mf2 {
    padding: 60px 60px 30px;
  }
  .tabs {
    gap: 10px;
  }

  .tab {
    font-size: 15px;
    padding: 15px 15px;
  }

  .tab.active {
    font-size: 24px;
    flex: 1.5;
  }

  .header-row th {
    font-size: 18px;
    padding: 10px 6px;
  }
  .description {
    padding-left: 50px;
    padding-right: 50px;
  }

  td {
    font-size: 18px;
    padding: 10px 6px;
  }
  .table-container {
    padding: 0 50px 40px;
  }
}

@media (max-width: 768px) {
  .desktop-version {
    display: none;
  }
  .button {
    display: none;
  }

  .mobile-version {
    display: block;
  }

  #mf1 {
    padding: 20px 30px 50px;
  }
  #mf1 p {
    line-height: 50px;
    font-size: 22px;
  }

  #mf2 {
    padding: 60px 30px;
    border-radius: 50px;
  }

  .mobile-plan-card {
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .mobile-plan-header {
    background: #ff6b7d;
    color: white;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .mobile-plan-header.active {
    background: #ff6b7d;
  }

  .mobile-plan-header:not(.active) {
    background: #ff9aa5;
  }

  .mobile-plan-content {
    display: none;
    background: white;
    border: 2px solid #ff6b7d;
    border-radius: 15px;
    border-top: none;
  }
  .mobile-plan-content.last {
    background: #fff2e0;
  }
  .mobile-plan-header.active + .mobile-plan-content {
    display: block;
  }

  .mobile-description {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 15px 40px;
    text-align: center;
    font-size: 22px;
    line-height: 1.5;
    color: #383730;
    background: #fafafa;
  }
  .mobile-description.last {
    background: #fff2e0 !important;
  }

  .mobile-button.last {
    background: #fff2e0;
  }
  .mobile-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 40px;
  }

  .mobile-table {
    width: 100%;
    min-width: 400px;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 12px;
  }

  .mobile-header-row {
    background: #faf5eb;
    color: #ff7784;
    border-bottom: 3px solid #383730 !important;
  }
  .mobile-header-row.last,
  .mobile-data-header.last {
    background: #00a0e9 !important;
    color: #fff !important;
  }

  .mobile-header-row th,
  .mobile-header-row {
    padding: 8px 4px;
    font-weight: 500;
    font-size: 13px;
    border: 1px solid #ddd;
    text-align: center;
    border-right: 1px solid #383730;
  }
  .mobile-header-row th:last-child,
  .mobile-header-row:last-child {
    border-right: none;
  }

  .mobile-data-header {
    background: #f5ebd9 !important;
    color: #ff7784 !important;
  }
  .mobile-table td {
    padding: 8px 4px;
    font-size: 12px;
    text-align: center;
    background: #fff;
    color: #383730;
    border-right: 1px solid #383730;
  }
  .mobile-table td:last-child {
    border-right: none;
  }

  .mobile-table td:first-child {
    font-weight: 500;
    background: #faf5eb;
  }
  .mobile-table td:first-child.last {
    background: #00a0e9 !important;
    color: #fff !important;
  }

  .mobile-button {
    padding: 40px;
    text-align: center;
    background: #f8f8f8;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }

  .mobile-btn {
    background: #00a0e9;
    color: #fff !important;
    padding: 20px 30px;
    border: none;
    width: 100%;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .mobile-btn:hover {
    background: #0088cc;
  }
}

@media (max-width: 480px) {
  #mf1 {
    padding: 10px 20px 40px;
  }
  #mf2 {
    padding: 50px 20px;
  }
  .mobile-plan-header {
    font-size: 22px;
    padding: 17px 15px;
  }
  .mobile-plan-header.active + .mobile-plan-content {
    padding: 0 15px;
  }
  #mf1 p {
    line-height: 35px;
    font-size: 12px;
  }

  .mobile-description {
    padding: 20px 0;
    font-size: 13px;
  }

  .mobile-table {
    min-width: 350px;
    font-size: 11px;
    margin: 0;
  }
  .mobile-table-scroll {
    padding: 0 20px;
  }
  .mobile-plan-header {
    border-radius: 10px;
  }
  .mobile-header-row th {
    font-size: 13px;
    padding: 6px 3px;
  }
  .mobile-plan-content {
    border-radius: 10px;
  }

  .mobile-table td {
    font-size: 13px;
    padding: 6px 3px;
  }
  .mobile-button {
    padding: 30px 0;
  }

  .mobile-btn {
    padding: 10px 25px;
    font-size: 17px;
  }
}
