/* ===== TOKENS ===== */
:root {
  --bg: #F4F6F9;
  --bg-tint: #EEF2F8;
  --white: #FFFFFF;
  --ink: #101828;
  --ink-soft: #475467;
  --blue: #2563EB;
  --blue-deep: #1D4ED8;
  --blue-pale: #E8F0FE;
  --orange: #F59E0B;
  --orange-deep: #D97706;
  --line: #E2E6EE;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-pill-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.btn-pill-orange:hover {
  background: var(--orange-deep);
}

.btn-pill-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-pill-blue:hover {
  background: var(--blue-deep);
}

.btn-pill-dark {
  background: var(--ink);
  color: #fff;
}

.btn-pill-dark:hover {
  background: #000;
}

.btn-pill-light {
  background: #fff;
  color: var(--ink);
}

.btn-outline-blue {
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
  width: 100%;
  justify-content: center;
}

.btn-outline-blue:hover {
  background: var(--blue-pale);
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
  transition: filter .3s ease, transform .3s ease;
}

.brand:hover .brand-logo-img {
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.9));
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 3px;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.chev {
  font-size: 11px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 80px 32px 0;
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-sub {
  margin: 28px auto 0;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-sub strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-tagline {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 17px;
  color: var(--blue);
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta--center {
  justify-content: center;
}

.ti-play {
  font-size: 11px;
}

.hero-visual {
  margin: 56px auto 0;
  max-width: 1100px;
  height: 420px;
}

.hero-caption {
  margin: 8px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--blue);
  padding-bottom: 64px;
}

/* ===== TRUST BAR ===== */
.trust {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 32px;
  text-align: center;
}

.trust-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 32px;
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
}

.trust-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ===== SECTIONS ===== */
.section {
  padding: 96px 32px;
}

.section-tint {
  background: var(--bg-tint);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: var(--ink);
}

/* ===== STEPS ===== */
.steps-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-icon--blue {
  background: var(--blue-pale);
  color: var(--blue);
}

.step-icon--orange {
  background: #FEF3E2;
  color: var(--orange);
}

.step-no {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--line);
}

.step-card h3 {
  font-size: 19px;
  font-weight: 700;
}

.step-card p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ===== FEATURES ===== */
.feature-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.06);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-icon--blue {
  background: var(--blue-pale);
  color: var(--blue);
}

.feature-icon--orange {
  background: #FEF3E2;
  color: var(--orange);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
}

.feature-card p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ===== REPORT CARD ===== */
.report-card {
  margin-top: 56px;
  background: var(--ink);
  border-radius: 24px;
  padding: 40px;
  text-align: left;
  color: #fff;
}

.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.report-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #94A3B8;
  margin-bottom: 6px;
}

.report-id {
  font-size: 16px;
  font-weight: 700;
}

.report-badge {
  font-size: 12px;
  font-weight: 700;
  color: #86EFAC;
  border: 1px solid rgba(134, 239, 172, 0.35);
  border-radius: 999px;
  padding: 7px 16px;
}

.report-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.report-big {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
}

.report-big small {
  font-size: 18px;
  font-weight: 600;
  opacity: .6;
}

.report-mid {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.report-foot {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.chips {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* ===== WHY ===== */
.why-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.why-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid var(--line);
}

.why-icon {
  width: 42px;
  height: 42px;
  color: var(--blue);
  margin-bottom: 16px;
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 16.5px;
  font-weight: 700;
}

.why-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ===== TESTIMONI SECTION & TOOLBAR ===== */
.testi-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  text-align: left;
}

.testi-header-text {
  max-width: 600px;
}

.testi-sub-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.btn-testi-upload {
  font-size: 14.5px;
  padding: 12px 22px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.testi-toolbar {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.testi-score-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.testi-score-stars {
  color: #F59E0B;
  font-size: 17px;
  letter-spacing: 2px;
}

.testi-score-val {
  font-size: 15px;
  color: var(--ink);
}

.testi-score-count {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.testi-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.testi-filter-btn {
  background: var(--bg-tint);
  border: 1px solid transparent;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}

.testi-filter-btn:hover {
  background: #E2E8F0;
  color: var(--ink);
}

.testi-filter-btn.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.testi-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

/* Empty State (Mulai dari 0 Ulasan) */
.testi-empty-state {
  grid-column: 1 / -1;
  background: var(--white);
  border: 2px dashed #CBD5E1;
  border-radius: 24px;
  padding: 54px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
}

.testi-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.testi-empty-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.testi-empty-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 22px;
}

.btn-empty-action {
  font-size: 14.5px;
  padding: 12px 24px;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.07);
  border-color: #CBD5E1;
}

.testi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.testi-stars {
  color: #F59E0B;
  font-size: 15px;
  letter-spacing: 2px;
}

.testi-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #16A34A;
  background: #DCFCE7;
  padding: 3px 10px;
  border-radius: 999px;
}

.testi-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #2563EB;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.testi-quote-mark {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--blue-pale);
  line-height: 1;
  margin-bottom: -4px;
}

.testi-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  flex-grow: 1;
}

.testi-photo-attach {
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  max-height: 180px;
}

.testi-photo-attach img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .3s ease;
  cursor: pointer;
}

.testi-photo-attach img:hover {
  transform: scale(1.03);
}

.testi-author {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.testi-role {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.testi-date {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 2px;
}

/* ===== MODAL TULIS TESTIMONI ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: modalFadeIn .25s ease forwards;
}

@keyframes modalFadeIn {
  to { opacity: 1; }
}

.modal-dialog {
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
  padding: 32px 28px;
  position: relative;
  transform: scale(0.94) translateY(12px);
  animation: modalPopUp .25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPopUp {
  to {
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.modal-subtitle {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.modal-close-btn {
  background: #F1F5F9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--ink);
  transform: rotate(90deg);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Star Rating Picker */
.star-rating-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.star-pick-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: #CBD5E1;
  cursor: pointer;
  padding: 0 2px;
  transition: color .15s ease, transform .15s ease;
  line-height: 1;
}

.star-pick-btn.active {
  color: #F59E0B;
}

.star-pick-btn:hover {
  transform: scale(1.2);
}

.rating-text-hint {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-left: 8px;
}

/* Upload Dropzone */
.upload-dropzone {
  position: relative;
  border: 2px dashed #CBD5E1;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  background: #F8FAFC;
  cursor: pointer;
  transition: all .2s ease;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.upload-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upload-title {
  font-size: 13.5px;
  color: var(--ink);
}

.upload-title strong {
  color: var(--blue);
}

.upload-hint {
  font-size: 11.5px;
  color: #94A3B8;
  margin-top: 3px;
}

.upload-preview-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  position: relative;
  z-index: 3;
}

.upload-preview-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.upload-preview-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-grow: 1;
  overflow: hidden;
}

.upload-file-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-file-size {
  font-size: 11.5px;
  color: #94A3B8;
}

.upload-remove-btn {
  background: #FEE2E2;
  border: none;
  color: #DC2626;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}

.upload-remove-btn:hover {
  background: #FCA5A5;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.btn-pill-outline-gray {
  background: transparent;
  border: 1px solid #CBD5E1;
  color: var(--ink-soft);
  padding: 12px 20px;
}

.btn-pill-outline-gray:hover {
  background: #F1F5F9;
  color: var(--ink);
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin .6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .testi-header-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .testi-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== PRICING ===== */
.pricing-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border: 2px solid var(--blue);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 30px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-name {
  font-size: 20px;
  font-weight: 800;
}

.price-desc {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.price-amount {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
}

.price-amount--text {
  font-size: 24px;
}

.price-currency {
  font-size: 17px;
  font-weight: 700;
  margin-right: 2px;
}

.price-amount small {
  font-size: 17px;
  font-weight: 600;
  opacity: .6;
}

.price-list {
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}

.price-list li {
  font-size: 14px;
  line-height: 1.4;
  padding-left: 24px;
  position: relative;
  color: var(--ink-soft);
}

.price-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: linear-gradient(135deg, var(--blue) 0%, #1E40AF 100%);
  padding: 100px 32px;
  text-align: center;
}

.cta-final-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-final h2 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.18;
  color: #fff;
}

.cta-final p {
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== FORM PENDAFTARAN ===== */
.form-daftar {
  margin-top: 40px;
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  text-align: left;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
}

.form-field textarea {
  resize: vertical;
  font-family: var(--font-body);
}

.form-daftar .btn {
  margin-top: 6px;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
  text-align: center;
}

.form-status.success {
  color: #16A34A;
}

.form-status.error {
  color: #DC2626;
}

.btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

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

  .form-daftar {
    padding: 24px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 32px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  grid-column: 1;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.footer-tag {
  grid-column: 1;
  margin-top: 14px;
  font-size: 13.5px;
  color: #94A3B8;
  max-width: 230px;
  line-height: 1.6;
}

.footer-cols {
  grid-column: 2 / span 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-h {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #60A5FA;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: #CBD5E1;
  transition: color .2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 32px;
  text-align: center;
  font-size: 13px;
  color: #64748B;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .steps-grid,
  .feature-grid,
  .testi-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .report-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-column: 1;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
  }

  .trust-stats {
    gap: 32px;
  }

  .hero {
    padding: 56px 20px 0;
  }

  .section {
    padding: 64px 20px;
  }

  .hero-visual {
    height: 280px;
  }
}

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-title {
    font-size: 36px;
  }
}

/* ===== SERVICE SELECTOR & TABS ===== */
.service-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.service-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  text-align: center;
}

.service-tab:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.06);
}

.service-tab.active {
  border-color: var(--blue);
  background: var(--blue-pale);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.service-tab-icon {
  font-size: 32px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.service-tab:hover .service-tab-icon {
  transform: scale(1.12);
}

.service-tab-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.service-tab-label small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 3px;
}

@media (max-width: 768px) {
  .service-selector {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ===== REF & DISCOUNT STYLES ===== */
.input-referal-wrapper {
  display: flex;
  gap: 10px;
}

.input-referal-wrapper input {
  flex: 1;
}

.btn-cek-referal {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-cek-referal:hover {
  background: var(--blue-deep);
}

.btn-cek-referal.applied {
  background: #16A34A !important;
  color: #fff !important;
  cursor: not-allowed;
}

input#kode_referal.applied {
  border-color: #16A34A !important;
  background-color: #F0FDF4 !important;
  color: #166534 !important;
}

.referal-status {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.referal-status.success {
  color: #16A34A;
}

.referal-status.error {
  color: #DC2626;
}

.price-original {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--ink-soft);
  opacity: .5;
  font-weight: 500;
  display: none;
  margin-bottom: 2px;
}

/* ===== AFFILIATE PANEL RESPONSIVE ===== */
@media (max-width: 560px) {
  .affiliate-link-box {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .affiliate-link-box button {
    width: 100%;
  }

  .affiliate-container {
    padding: 24px !important;
  }

  .affiliate-share-actions {
    flex-direction: column;
  }
}

/* ===== NAVBAR NAV-ACTIONS & BUTTON CUSTOMIZATIONS ===== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav {
  padding: 10px 20px !important;
  font-size: 14.5px !important;
}

.btn-nav-kemitraan {
  border: 1.5px solid var(--orange);
  color: var(--orange-deep);
  background: transparent;
  padding: 10px 20px;
  font-size: 14.5px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.btn-nav-kemitraan:hover {
  background: #FEF3C7;
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .nav-inner {
    padding: 16px 20px;
  }

  .btn-nav {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }

  .btn-nav-kemitraan {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 440px) {
  .btn-nav-kemitraan {
    display: none;
    /* Sembunyikan tombol kemitraan di navbar pada layar sangat sempit */
  }
}

/* ===== AFFILIATE PROMO CARD (HOME PAGE) ===== */
.affiliate-promo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  margin-top: 48px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.02);
  color: var(--ink);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.affiliate-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--orange);
  background: #FEF3C7;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.affiliate-promo-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 12px 0 8px;
}

.affiliate-promo-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 24px;
}

/* ===== AFFILIATE PAGE CONTAINER & LAYOUT ===== */
.affiliate-page {
  padding: 60px 20px 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.affiliate-hero {
  text-align: center;
  margin-bottom: 48px;
}

.affiliate-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  color: var(--ink);
  margin: 12px 0 16px;
}

.affiliate-hero .hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Benefits Grid */
.affiliate-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.04);
}

.benefit-card .icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.benefit-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .affiliate-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== VALIDATION STYLES ===== */
.is-invalid {
  border-color: #DC2626 !important;
  background-color: #FEF2F2 !important;
}

/* ===== CHECKOUT PAGE LAYOUT ===== */
.checkout-page {
  padding: 60px 20px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  margin-top: 36px;
}

.checkout-left,
.checkout-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.02);
}

.checkout-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}

.order-summary-row:last-child {
  border-bottom: none;
}

.order-summary-row.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  border-top: 1.5px solid var(--line);
  padding-top: 16px;
  margin-top: 12px;
}

.order-summary-row.discount {
  color: #16A34A;
  font-weight: 600;
}

/* Payment Methods */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.payment-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--white);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.payment-tab:hover {
  border-color: var(--blue);
  background: var(--bg-tint);
}

.payment-tab.active {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--blue);
}

.payment-tab-icon {
  font-size: 24px;
}

.payment-details {
  background: var(--bg);
  border-radius: 12px;
  padding: 20px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}

.payment-details-group {
  display: none;
}

.payment-details-group.active {
  display: block;
}

.qr-code-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-code-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.bank-account-box {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bank-account-num {
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

/* File Upload Drag & Drop */
.file-upload-zone {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  background: var(--white);
  transition: all 0.2s ease;
  position: relative;
}

.file-upload-zone:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-preview {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 24, 40, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ===== THANK YOU PAGE ===== */
.thank-you-page {
  padding: 60px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.02);
  margin-bottom: 48px;
}

.thank-you-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 500px;
  margin: 28px auto 0;
  text-align: left;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.receipt-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.receipt-label {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 500;
}

.receipt-value {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Iframe Modal Overlay */
.payment-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 24, 40, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.payment-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.payment-modal-content {
  background: var(--white);
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  height: 90%;
  max-height: 680px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 48px rgba(16, 24, 40, 0.2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.payment-modal-overlay.active .payment-modal-content {
  transform: scale(1);
}
.close-modal-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.05);
}
.close-modal-btn:hover {
  background: var(--bg-tint);
  color: var(--ink);
  transform: scale(1.05);
}
#paymentIframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* Payment Tab badge */
.payment-tab {
  position: relative;
}
.method-badge {
  position: absolute;
  top: -8px;
  right: -4px;
  background: #2563EB;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.4);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-family: var(--font-display);
}

/* ===== PASSWORD TOGGLE ===== */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input {
  width: 100%;
  padding-right: 44px !important;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: color 0.2s ease, transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.password-toggle-btn:hover {
  color: var(--blue);
  transform: scale(1.1);
}

.password-toggle-btn:active {
  transform: scale(0.9);
}

.password-toggle-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}