/* Price Subscribe Page Custom Styles */
:root {
  --primary: #3f87b9;
  --secondary: #55c9f5;
  --tertiary: #e6eff7;

  --fsio-blue: var(--primary);
  --fsio-blue2: var(--secondary);
  --fsio-ice: var(--tertiary);

  --fsio-kuning: #ffd85c;
  --fsio-kuning2: #ffe99c;
  --fsio-green: #1c7c2f;
  --fsio-dark: #0f2942;
  --fsio-light: #fff7d9;
  --fsio-ice: #b8e2ff;
  --fsio-ink: #0c2236;
  --fsio-muted: #5d6b79;
  --radius: 16px;
}
  
#route-header.compact {
  padding: 0 !important;
}

.section-space {
  padding-top: var(--section-space-y);
  padding-bottom: var(--section-space-y);
}

.section-space-top {
  padding-top: var(--section-space-y);
}

.section-space-bottom {
  padding-bottom: var(--section-space-y);
}

.screenshots.style-4.section-space {
  position: relative;
}

.plan-seg-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.plan-seg-wrap::before,
.plan-seg-wrap::after {
  z-index: 2;
}

.plan-segmented {
  display: flex;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f4f5f7;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06) inset,
    0 8px 18px rgba(0, 0, 0, 0.04);
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  z-index: 1;
}

.plan-segmented::-webkit-scrollbar {
  display: none;
}

.plan-segmented .seg-btn {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  color: #1b2a3a;
  opacity: 0.8;
}

.plan-segmented .seg-btn.is-active {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  opacity: 1;
  padding: 7px 12px;
}

.plan-seg-wrap::before,
.plan-seg-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  transition: opacity 0.2s ease;
  opacity: 0;
  border-radius: 999px;
}

.plan-seg-wrap::before {
  left: 0;
  background: linear-gradient(90deg,
      #eef1f5 0%,
      rgba(238, 241, 245, 0.85) 40%,
      rgba(238, 241, 245, 0) 100%);
}

.plan-seg-wrap::after {
  right: 0;
  background: linear-gradient(270deg,
      #eef1f5 0%,
      rgba(238, 241, 245, 0.85) 40%,
      rgba(238, 241, 245, 0) 100%);
}

.plan-seg-wrap.show-left::before {
  opacity: 1;
}

.plan-seg-wrap.show-right::after {
  opacity: 1;
}

.plan-detail-wrap {
  margin-top: 18px;
}

.plan-detail {
  display: none;
}

@media (min-width: 721px) {
  .plan-seg-wrap {
    display: none;
  }
}

@media (max-width: 360px) {

  .plan-seg-wrap::before,
  .plan-seg-wrap::after {
    width: 56px;
  }
}

@media (max-width: 720px) {
  .plan-row {
    display: none;
  }

  .plan-segmented {
    display: flex;
    max-width: 400px;
    justify-content: center;
  }

  .feature-table .table-head .col:nth-child(n + 2),
  .feature-table .table-row .col:nth-child(n + 2) {
    display: none;
  }

  .feature-table .table-head .col:nth-child(1),
  .feature-table .table-row .col:nth-child(1) {
    display: block;
    font-weight: 600;
  }

  .feature-table .table-head .col.highlight,
  .feature-table .table-row .col.highlight {
    display: block;
  }

  .feature-table .table-head .highlight,
  .table-row .highlight {
    background: #fff7d9;
  }

  .plan-detail {
    display: none;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(13, 95, 147, 0.06);
  }

  .pd-head {
    padding: 18px 16px;
    border-bottom: 1px solid #edf2f7;
  }

  .pd-plan {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .pd-plan h3 {
    margin: 0;
    font-weight: 800;
    font-size: 22px;
    color: #0c2236;
  }

  .pd-price {
    font-weight: 800;
    font-size: 22px;
    color: #0c2236;
  }

  .pd-sub {
    margin-top: 6px;
    color: #5d6b79;
    font-size: 14px;
  }

  .pd-cta {
    margin-top: 12px;
  }

  .pd-cta .btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 10px 18px;
    background: #3f87b9;
    color: #fff;
    text-decoration: none;
    display: inline-block;
  }

  .pd-section {
    background: #f9fbfd;
    padding: 12px 16px;
    font-weight: 800;
    color: #0c2236;
    border-top: 1px solid #e1ecf6;
  }

  .pd-list {
    padding: 0;
  }

  .pd-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid #edf2f7;
  }

  .pd-label {
    color: #263238;
  }

  .pd-help {
    display: block;
    color: #5d6b79;
    font-size: 12.5px;
    margin-top: 2px;
  }

  .pd-value {
    text-align: right;
    color: #0c2236;
    font-weight: 600;
  }

  .pd-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
  }

  .pd-badge.ok {
    background: #e8f7ef;
    color: #1c7c2f;
  }

  .pd-badge.no {
    background: #fae7e9;
    color: #d92d20;
  }

  .feature-table .table-head,
  .feature-table .table-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr !important;
  }

  .feature-table .table-head .col,
  .feature-table .table-row .col {
    display: none !important;
  }

  .feature-table .table-head .col:first-child,
  .feature-table .table-row .col:first-child {
    display: block !important;
  }

  .feature-table .table-head .col.highlight,
  .feature-table .table-row .col.highlight {
    display: block !important;
  }

  .feature-table .table-row:has(.col.highlight .x) {
    display: none;
  }

  .feature .dot {
    display: none;
  }

  .feature {
    gap: 0;
  }

  .plan-row {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .plan-row .plan-item {
    display: none !important;
  }

  .plan-row .plan-item.is-active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
    background: var(--tertiary);
  }

  .plan-row .plan-item.is-active .plan-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
  }

  .plan-row .plan-item.is-active .plan-price {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .plan-row .plan-item.is-active .plan-price sup {
    font-size: 0.3em;
    vertical-align: top;
    position: relative;
    top: 13px;
    margin-right: 2px;
  }

  .plan-row .plan-item.is-active .per {
    font-weight: 600;
    font-size: 11px;
    opacity: 0.85;
    display: inline-block;
    margin-bottom: 6px;
  }

  .plan-row .plan-item.is-active .note {
    font-size: 11px;
    opacity: 1;
    display: inline-block;
    background: rgba(15, 41, 66, 0.08);
    color: #000000ff;
    border-radius: 999px;
    padding: 4px 12px;
    margin-top: 6px;
    font-weight: 500;
  }

  .plan-row .plan-item.is-active .ribbon {
    display: none;
  }
}

@media (max-width: 420px) {
  .pricing.fsio .container {
    padding-inline: 14px;
  }
}

.claim-voucher {
  border: none;
  background-color: transparent;
  position: absolute;
  top: 52px;
}

.claim-voucher.right {
  right: 10px;
}

.claim-image {
  transition: transform 0.3s ease;
  cursor: pointer;
  z-index: 999;
  width: 16%;
  animation: pulse 2s infinite;
}

@media (max-width: 576px) {
  .table .claim-image {
    display: none !important;
  }

  .table .voucher {
    font-size: 16px !important;
    line-height: 1.4;
    padding: 12px !important;
    text-align: center;
  }
}

.plan-segmented {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.plan-segmented::-webkit-scrollbar {
  display: none;
}

.plan-segmented .seg-btn {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

@media (max-width: 720px) {
  .plan-segmented {
    justify-content: flex-start !important;
  }
}

.pricing.fsio {
  background: #fff;
}

.pricing .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-head {
  text-align: center;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--fsio-ink);
  margin: 0;
}

.section-head h2 span {
  color: var(--fsio-blue2);
}

.section-head p {
  color: var(--fsio-muted);
  margin-top: 6px;
}

.plan-row {
  display: grid;
  grid-template-columns: 2.2fr repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
  align-items: stretch;
}

.plan-item {
  position: relative;
  background: var(--fsio-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 18px 16px 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.plan-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 95, 147, 0.18);
}

.plan-item .plan-name {
  display: block;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.plan-item .plan-price {
  display: block;
  font-weight: 800;
  font-size: 45px;
  line-height: 1.1;
}

.plan-item .plan-price sup {
  font-size: 0.3em;
  vertical-align: top;
  position: relative;
  top: 15px;
  margin-right: 2px;
}

.plan-item .per {
  font-weight: 600;
  font-size: 0.75em;
}

.plan-item .note {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 999px; 
  padding: 4px 12px;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 500;
}

.plan-item.is-active .note {
  color: black;
}

.plan-item .badge {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  background: #0b2942;
  color: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 11px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.plan-item .badge.alt {
  background: #008543;
}

.plan-item.has-badge {
  padding-top: 28px;
}

.plan-item.has-badge .ribbon {
  display: none !important;
}

.plan-item.is-active {
  background: var(--tertiary);
  color: #0f2942;
}

.plan-item.is-active .badge {
  background: #0b2942;
  color: #fff;
}

.plan-item .ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffe99c;
  color: #5a4300;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  display: inline-block;
}

.feature-table {
  margin-top: 22px;
  border: 1px solid #e8eef5;
}

@media (min-width: 721px) {
  .feature-table .table-head:not(.is-sticky) .pkg-col > * {
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
}

.feature-table .table-head,
.feature-table .table-row {
  grid-template-columns: 2.2fr repeat(var(--pkg-count, 4), 1fr);
}

.feature-table .table-head {
  display: grid;
  background: var(--fsio-blue);
  color: #fff;
  font-weight: 800;
  align-items: stretch;
  border-bottom: none;
  position: sticky;
  top: 100px;
  z-index: 9;
  border-radius: var(--radius) var(--radius) 0 0;
}

.feature-table .table-head .col {
  padding: 12px 16px;
}

.feature-table .table-head .highlight {
  background: #ffd85c;
  color: #0f2942;
}

.feature-table .table-row:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

.pkg-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  gap: 2px;
}
.pkg-col .pkg-badge-wrap {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 6px;
}
.pkg-col .pkg-name {
  font-size: 20px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.5px;
}
.pkg-col .pkg-price {
  font-size: 45px;
  font-weight: 800;
  line-height: 1.1;
  display: inline-block;
}
.pkg-col .pkg-price sup {
  font-size: 0.3em;
  vertical-align: top;
  position: relative;
  top: 15px;
  margin-right: 2px;
}
.pkg-col .per {
  font-weight: 600;
  font-size: 11px;
  opacity: 0.85;
  margin-top: 4px;
}
.pkg-col .note {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.feature-table .table-head .ta-c.highlight .note {
  background: none !important;
  color: #000000ff;
}
.sticky-badge {
  font-size: 11px;
  font-weight: 700;
  background: #008543;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.4;
}
.sticky-badge.best-choice {
  background: #008543;
}
.feature-table .table-head .ta-c.highlight .sticky-badge {
  background: #fff;
  color: #0f2942;
}
.feature-table .table-head .ta-c.highlight .sticky-badge.best-choice {
  background: #fff;
  color: #0f2942;
}

.table-row {
  display: grid;
  background: #fff;
  color: #0c2236;
  border-top: 1px solid #edf2f7;
}

.table-row.alt {
  background: #f8fbff;
}

.table-row .col {
  padding: 14px 16px;
}

.feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #263238;
}

.feature .dot {
  display: none !important;
}

.ta-c {
  text-align: center;
}

.highlight {
  background: #fff7d9;
}

.check {
  display: inline-block;
  width: 10px;
  height: 18px;
  border-right: 3.5px solid #28a745;
  border-bottom: 3.5px solid #28a745;
  transform: rotate(45deg);
  margin-bottom: 4px;
}

.cta-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.fsio-btn {
  background: var(--fsio-blue2);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(63, 135, 185, 0.22);
  text-decoration: none;
}

.fsio-btn:hover {
  opacity: 0.95;
}

/* Package Card styles */
.package-header-card {
  position: relative;
  background: var(--fsio-blue);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: none;
  text-decoration: none !important;
}

.package-header-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(13, 95, 147, 0.18);
}

.package-header-card.is-active {
  background: var(--tertiary);
  color: #0f2942;
  border: none;
  box-shadow: 0 10px 25px rgba(13, 95, 147, 0.12);
}

.package-header-card .card-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.package-header-card .card-price {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 2px;
}

.package-header-card .card-price span {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

.package-header-card .card-note {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.8;
}

.package-header-card .card-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #28a745;
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
  z-index: 10;
}

.package-header-card .card-badge.best-choice {
  background: #007bff;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.package-header-card.is-active .card-price {
  color: #016db5;
}

/* Section Separators */
.subhead.main-features-subhead {
  background: var(--fsio-blue) !important;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border: none;
  grid-column: 1 / -1;
}

.subhead.addons-subhead {
  background: #eef5fb;
  color: #016db5 !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-top: 1px solid #d3e6f7;
  border-bottom: 1px solid #d3e6f7;
}

.addon-badge, .addon-label {
  display: inline-block;
  background: #e6eff7;
  color: #016db5;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.mp-sub-row .col.feature {
  padding-left: 32px !important;
  color: #5d6b79;
}

.mp-header-row {
  cursor: pointer;
  background: #f8fbff;
}

.mp-header-row:hover {
  background: #eef5fb;
}

.x {
  display: inline-block;
  width: 18px;
  height: 18px;
  position: relative;
}

.x:after,
.x:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 10px;
  height: 2px;
  background: #d92d20;
}

.x:before {
  transform: rotate(45deg);
}

.x:after {
  transform: rotate(-45deg);
}

@media (max-width: 992px) {
  .feature-table .table-head,
  .feature-table .table-row {
    grid-template-columns: 1.8fr repeat(var(--pkg-count, 4), 1fr);
  }
}

@media (max-width: 720px) {
  .plan-row {
    grid-template-columns: 1fr;
  }

  .feature-table .table-head,
  .table-row {
    grid-template-columns: 1.4fr 1fr !important;
  }

  .feature-table .table-head {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    border-radius: 0;
  }

  .feature-table .table-head .col:nth-child(n + 4),
  .table-row .col:nth-child(n + 4) {
    display: none;
  }

  .pkg-col {
    padding: 8px 4px !important;
  }
  .pkg-col .pkg-badge-wrap {
    height: 18px;
    margin-bottom: 2px;
  }
  .pkg-col .pkg-name {
    font-size: 11px;
    font-weight: 700;
  }
  .pkg-col .pkg-price {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
  }
  .pkg-col .pkg-price sup {
    font-size: 0.35em;
    top: 1px;
    margin-right: 1px;
  }
  .pkg-col .per {
    font-size: 8px;
    margin-top: 1px;
  }
  .pkg-col .note {
    font-size: 8px;
    padding: 2px 6px;
    margin-top: 3px;
  }
  .sticky-badge {
    font-size: 8px;
    padding: 2px 6px;
  }
}

/* Hide table-head package column details by default (when not sticky) */
.feature-table .table-head .pkg-col > * {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Fade-in table-head package column details when sticky */
.feature-table .table-head.is-sticky .pkg-col > * {
  opacity: 1;
  visibility: visible;
}

.pricing {
  font-size: 0.9em;
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}
.accordion-button::after {
  display: none;
}

.addon-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 600px) {
  .addon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.addon-item {
  height: 100%;
}

.addon-item > [id^="container_"] {
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.addon-qty[type=number]::-webkit-inner-spin-button,
.addon-qty[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0;
}

.addon-qty {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

.tooltip-inner {
  background-color: #3F87B9 !important;
  color: white !important;
  max-width: 300px;
  white-space: pre-wrap;
  text-align: center;
}

.custom-tooltip .tooltip-inner {
  background-color: #3F87B9;
  color: white !important;
  max-width: 300px;
  white-space: pre-wrap;
  text-align: start;
}

.custome-strikethrough {
  position: relative;
  color: #A4AEB4;
}

.custome-strikethrough::before {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 2px;
  width: 100%;
  height: 1.30px;
  background-color: #A4AEB4;
  transform: rotate(-7deg);
  transform-origin: bottom left;
}

/* Mobile Pro Collapsible Styling */
.mp-header-row {
  cursor: pointer;
  background: #eef5fb !important;
  font-weight: 700;
  transition: background 0.2s ease;
}

.mp-header-row:hover {
  background: #d3e6f7 !important;
}

.mp-chevron {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 6px;
  font-size: 0.8em;
}

.mp-header-row.expanded .mp-chevron {
  transform: rotate(180deg);
}

.mp-sub-rows {
  display: block;
}

.mp-sub-row {
  background: #f8fbff;
}

.mp-sub-row .col.feature {
  padding-left: 32px !important;
  font-size: 0.9em;
  color: #445;
}

/* Style untuk Addon Section */
.addon-title-row {
  background: #fff7d9 !important;
  font-weight: 700;
}

.addon-item-row {
  background: #ffffff;
}

.addon-label {
  color: var(--primary) !important;
  font-weight: 600;
}
