@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Amiri:ital,wght@0,700;1,400&display=swap");

/* ── CSS VARIABLES ── */
:root {
  --sp-blue: #5b6ef5;
  --sp-blue-dark: #3545c9;
  --sp-purple: #7c5cbf;
  --sp-bg-deep: #3d4fd6;
  --sp-pale: #eef0fe;
  --sp-pale2: #f5f6ff;
  --sp-text: #1a1d3a;
  --sp-text-mid: #4a4f7a;
  --sp-text-muted: #8a90c0;
  --sp-border: #dde0f8;
  --sp-success: #1a7a5e;
  --sp-success-bg: #e8f5f0;
  --sp-success-bd: #a8d5c5;
  --sp-error: #d94040;
  --sp-warn: #c07800;
  --sp-warn-bg: #fff8e6;
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--sp-text);
  background: var(--sp-pale2);
  overflow-x: hidden;
}

/* ── LEFT PANEL (daftar & pembayaran) ── */
.left-panel {
  background: var(--sp-bg-deep);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 10;
}
.lp-logo img {
  height: 30px;
}
.lp-logo-text {
  font-size: 17px;
  font-weight: 800;
  color: white;
}
.lp-title {
  font-size: 20px;
  font-weight: 800;
  color: white;
  line-height: 1.35;
}
.lp-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* trust badges di left panel */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.trust-badge svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255, 255, 255, 0.5);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}

/* ── RIGHT PANEL (daftar & pembayaran) ── */
.right-panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── NAVBAR (landing) ── */
.sp-navbar {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid var(--sp-border);
  min-height: 64px;
}
.sp-navbar .navbar-brand img {
  height: 32px;
}
.sp-navbar .navbar-brand span {
  font-size: 17px;
  font-weight: 800;
  color: var(--sp-text);
}
.sp-navbar .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--sp-text-mid) !important;
}
.sp-navbar .nav-link:hover {
  color: var(--sp-blue) !important;
}
@media (max-width: 991.98px) {
  .sp-navbar .navbar-collapse {
    background: white;
    border-top: 1px solid var(--sp-border);
    padding: 12px 0 16px;
    margin-top: 8px;
  }
  .sp-navbar .navbar-nav .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid var(--sp-border);
  }
  .sp-navbar .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }
}

/* ── BUTTONS (shared) ── */
.btn-sp-ghost {
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--sp-border);
  color: var(--sp-text-mid);
  background: transparent;
  border-radius: 8px;
  padding: 7px 18px;
  transition: all 0.2s;
}
.btn-sp-ghost:hover {
  border-color: var(--sp-blue);
  color: var(--sp-blue);
}

.btn-sp-primary {
  font-size: 14px;
  font-weight: 700;
  background: var(--sp-blue);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  transition: all 0.2s;
}
.btn-sp-primary:hover {
  background: var(--sp-blue-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(91, 110, 245, 0.35);
}

/* btn-back & btn-next (daftar) */
.btn-back {
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--sp-border);
  background: white;
  color: var(--sp-text-mid);
  border-radius: 10px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.btn-back:hover {
  border-color: var(--sp-blue);
  color: var(--sp-blue);
}
.btn-next {
  font-size: 14px;
  font-weight: 700;
  background: var(--sp-blue);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.btn-next:hover {
  background: var(--sp-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91, 110, 245, 0.35);
  color: white;
}
.btn-next:disabled {
  background: var(--sp-border);
  color: var(--sp-text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-next svg,
.btn-back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* btn-login (sukses pembayaran) */
.btn-login {
  display: inline-block;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  background: var(--sp-blue);
  color: white;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-login:hover {
  background: var(--sp-blue-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91, 110, 245, 0.35);
}

/* ── PAKET CARD (landing pricing + daftar step 1) ── */
.pkg-card {
  border: 1.5px solid var(--sp-border);
  border-radius: 16px;
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  position: relative;
  height: 100%;
}
.pkg-card:hover {
  border-color: var(--sp-blue);
}
.pkg-card.selected,
.pkg-card.pop {
  border-color: var(--sp-blue);
  border-width: 2px;
}
.pkg-card.selected {
  background: var(--sp-pale);
}
.pkg-pop,
.pop-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sp-blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.pop-tag {
  top: -13px;
  font-size: 11px;
  padding: 4px 14px;
}
.pkg-tier {
  font-size: 10px;
  font-weight: 700;
  color: var(--sp-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pkg-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--sp-text);
  letter-spacing: -0.5px;
}
.pkg-price sup {
  font-size: 15px;
  vertical-align: top;
  margin-top: 7px;
  display: inline-block;
}
.pkg-period {
  font-size: 11px;
  color: var(--sp-text-muted);
}
.pkg-feats {
  list-style: none;
  padding: 0;
}
.pkg-feats li {
  font-size: 11px;
  color: var(--sp-text-mid);
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 6px;
}
.pkg-feats li svg {
  width: 12px;
  height: 12px;
  stroke: var(--sp-blue);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  flex-shrink: 0;
  margin-top: 1px;
}
.pkg-feats li.off svg {
  stroke: var(--sp-border);
}
.pkg-feats li.off span {
  color: var(--sp-text-muted);
  text-decoration: line-through;
}
/* checkmark di daftar step 1 */
.pkg-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--sp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 0;
  transition: all 0.2s;
}
.pkg-card.selected .pkg-check {
  background: var(--sp-blue);
  border-color: var(--sp-blue);
}
.pkg-card.selected .pkg-check::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
  display: block;
}

/* ── SECTION LABELS (landing) ── */
.sec-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sec-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--sp-text);
  line-height: 1.2;
}
.sec-title span {
  color: var(--sp-blue);
}

/* ── SUCCESS STATE (daftar & pembayaran) ── */
.suc-icon {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sp-pale);
}
.suc-icon svg {
  stroke: var(--sp-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.ss-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sp-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--sp-blue);
  flex-shrink: 0;
}
.si-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--sp-border);
  font-size: 13px;
}
.si-row:last-child {
  border-bottom: none;
}
.si-row span:first-child {
  color: var(--sp-text-muted);
}
.si-row span:last-child {
  font-weight: 600;
}

/* ── REVEAL ANIMATION (landing) ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 991.98px) {
  .left-panel {
    display: none;
  }
  .right-panel {
    margin-left: 0 !important;
    padding: 40px 20px;
  }
}

@media (max-width: 767.98px) {
  /* Right panel: padding lebih kecil di mobile */
  .right-panel {
    padding: 24px 16px 56px;
    align-items: stretch;
    justify-content: flex-start;
  }

  /* Prevent iOS auto-zoom saat tap input */
  .sp-input,
  select.sp-input {
    font-size: 16px !important;
  }

  /* Paket card: harga dan fitur lebih terbaca */
  .pkg-price {
    font-size: 26px;
  }
  .pkg-feats li {
    font-size: 12px;
  }

  /* Tombol navigasi: isi sisa ruang agar proporsional */
  .btn-next {
    flex: 1;
    justify-content: center;
  }
}
