/* ==========================================================================
   RAB Proyek Compact Micro-Landing Page (BongkarBisnis lpmc-2 Style)
   Container: Max-Width 530px, Large Legible Typography, Exhaustive Breakdown
   ========================================================================== */

:root {
  --text-zoom: 1;
  --bg-page: #f3f4f6;
  --bg-card: #ffffff;
  --text-main: #111827;
  --text-body: #374151;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --accent: #1e5a42;
  --accent-hover: #164332;
  --accent-soft: #f0f7f3;
  --line: #e5e7eb;
  --danger: #dc2626;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html[data-font-size="large"] {
  --text-zoom: 1.18;
}

html[data-font-size="xlarge"] {
  --text-zoom: 1.35;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.55;
  font-size: calc(16px * var(--text-zoom));
  -webkit-font-smoothing: antialiased;
  padding: 20px 10px 100px;
}

/* Centered Mobile Wrapper (Enlarged Container) */
.compact-wrapper {
  position: relative;
  max-width: 530px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  padding: 0 24px 30px;
}

@media (max-width: 480px) {
  body {
    padding: 0 0 70px;
  }
  .compact-wrapper {
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 0 18px 32px;
  }
}

/* Sticky Top Accessibility Bar (Liquid Glassmorphism, Rata Kanan) */
.sticky-top-a11y {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2147483647 !important;
  pointer-events: auto !important;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(190%);
  -webkit-backdrop-filter: blur(16px) saturate(190%);
  margin: 0 -24px 18px;
  padding: 8px 24px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.65);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

@media (max-width: 480px) {
  .sticky-top-a11y {
    margin: 0 -18px 18px;
    padding: 8px 18px;
  }
}

.sticky-top-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Teks label 'Ukuran Teks' dan tombol berada rata kanan */
  gap: 10px;
}

.a11y-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.a11y-controls {
  display: inline-flex;
  background: rgba(243, 244, 246, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
  border: 1px solid rgba(209, 213, 219, 0.6);
  pointer-events: auto !important;
}

.btn-text-size {
  background: transparent;
  border: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  color: var(--text-body);
  padding: 6px 14px;
  min-height: 34px;
  min-width: 38px;
  border-radius: 6px;
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-text-size:hover {
  color: var(--text-main);
}

.btn-text-size.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(30, 90, 66, 0.3);
}

/* Headline & Subhead (Prominent & Clear) */
h1 {
  font-size: calc(28px * var(--text-zoom));
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

@media (max-width: 480px) {
  h1 {
    font-size: calc(25px * var(--text-zoom));
  }
}

.sub-headline {
  font-size: calc(16.5px * var(--text-zoom));
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
}

/* Hero Mockup Image */
.hero-image-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 22px;
  background: #f9fafb;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Target Audience Callout */
.role-text {
  font-size: calc(15px * var(--text-zoom));
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 26px;
  line-height: 1.5;
}

/* Problem Section (Empati Singkat Faktual) */
.problem-section {
  margin-bottom: 28px;
}

.problem-section {
  margin: 20px 0 24px 0;
}

.problem-lead {
  font-size: calc(16.5px * var(--text-zoom));
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

.problem-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 16px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-item {
  list-style: none !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: calc(14.5px * var(--text-zoom));
  line-height: 1.45;
  color: var(--text-body);
}

.problem-item > span:not(.problem-cross) {
  flex: 1;
  min-width: 0;
}

.problem-cross {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(18px * var(--text-zoom)) !important;
  height: calc(18px * var(--text-zoom)) !important;
  min-width: calc(18px * var(--text-zoom)) !important;
  max-width: calc(18px * var(--text-zoom)) !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background: #fee2e2 !important;
  color: #dc2626 !important;
  font-size: calc(11px * var(--text-zoom)) !important;
  font-weight: 900 !important;
  flex: 0 0 calc(18px * var(--text-zoom)) !important;
  margin-top: calc(2px * var(--text-zoom)) !important;
  line-height: 1 !important;
  transition: all 0.15s ease;
}

body.zoom-large .problem-cross, html.zoom-large .problem-cross {
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  flex: 0 0 21px !important;
  font-size: 13px !important;
  margin-top: 2px !important;
}

body.zoom-xlarge .problem-cross, html.zoom-xlarge .problem-cross {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  flex: 0 0 24px !important;
  font-size: 15px !important;
  margin-top: 3px !important;
}

.problem-stop-lead {
  font-size: calc(14.5px * var(--text-zoom));
  font-weight: 700;
  color: #dc2626;
  line-height: 1.45;
  background: #fef2f2;
  border-left: 3px solid #ef4444;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin: 14px 0 0 0;
}

.problem-intro {
  font-size: calc(15.5px * var(--text-zoom));
  color: var(--text-muted);
  margin-bottom: 12px;
}

.problem-item::before {
  content: none !important;
  display: none !important;
}

.problem-more {
  font-size: calc(15px * var(--text-zoom));
  color: var(--text-light);
  margin: 12px 0 18px;
}

.problem-stop-lead {
  font-size: calc(17px * var(--text-zoom));
  font-weight: 800;
  color: var(--danger);
  margin: 18px 0 28px;
}

/* Solution Transition */
.solution-box {
  margin-bottom: 30px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
  scroll-margin-top: 55px;
}

.solution-lead {
  font-size: calc(16.5px * var(--text-zoom));
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.solution-body {
  font-size: calc(14.5px * var(--text-zoom));
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Core Checklist Section (Exhaustive Breakdown) */
.checklist-title {
  font-size: calc(12.5px * var(--text-zoom));
  font-weight: 800;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  margin: 24px auto 6px auto;
}

.checklist-bridge {
  font-size: calc(13.5px * var(--text-zoom));
  color: var(--text-body);
  text-align: center;
  line-height: 1.45;
  max-width: 440px;
  margin: 0 auto 16px auto;
}

.checkpoint-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  scroll-margin-top: 55px;
}

.preview-section {
  scroll-margin-top: 55px;
}

.checkpoint-header {
  padding: 12px 16px;
  background: #f9fafb;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: calc(16px * var(--text-zoom));
  font-weight: 700;
  color: var(--text-main);
}

.checkpoint-badge {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 5px;
  border: 1px solid #cce3d5;
  flex-shrink: 0;
}

/* Format Category Badges */
.format-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.format-badge-excel {
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.format-badge-word {
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
}

.format-badge-pdf {
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.format-badge-cad {
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

/* Financial Contrast Box */
.contrast-box {
  margin: 28px 0 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.contrast-box-header {
  background: #f8fafc;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: calc(15px * var(--text-zoom));
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
}

.contrast-table {
  width: 100%;
  border-collapse: collapse;
  font-size: calc(13px * var(--text-zoom));
}

.contrast-table th {
  padding: 10px 12px;
  font-weight: 700;
  font-size: calc(12px * var(--text-zoom));
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.contrast-table th.col-bad {
  background: #fff5f5;
  color: #991b1b;
  width: 50%;
  border-right: 1px solid #fed7d7;
}

.contrast-table th.col-good {
  background: #f0fdf4;
  color: #166534;
  width: 50%;
}

.contrast-table td {
  padding: 10px 12px;
  vertical-align: top;
  line-height: 1.4;
  border-bottom: 1px solid #f1f5f9;
}

.contrast-table td.col-bad {
  background: #fffafa;
  color: #7f1d1d;
  border-right: 1px solid #fed7d7;
}

.contrast-table td.col-good {
  background: #fcfdfc;
  color: #14532d;
  font-weight: 600;
}

.table-icon-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-size: 9px;
  font-weight: 900;
  margin-right: 4px;
  line-height: 1;
  flex-shrink: 0;
  vertical-align: 1px;
}

.table-icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 9px;
  font-weight: 900;
  margin-right: 4px;
  line-height: 1;
  flex-shrink: 0;
  vertical-align: 1px;
}

.badge-header-cross {
  color: #dc2626;
  font-weight: 900;
  margin-right: 3px;
}

.badge-header-check {
  color: #166534;
  font-weight: 900;
  margin-right: 3px;
}

.contrast-table tr:last-child td {
  border-bottom: none;
  font-weight: 800;
  padding: 12px;
}

.checkpoint-items {
  list-style: none;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkpoint-items li {
  font-size: calc(14.5px * var(--text-zoom));
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.checkpoint-items li span:not(.item-check) {
  flex: 1;
  min-width: 0;
}

.checkpoint-items li em {
  font-style: italic;
  color: inherit;
}

.item-check {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(18px * var(--text-zoom)) !important;
  height: calc(18px * var(--text-zoom)) !important;
  min-width: calc(18px * var(--text-zoom)) !important;
  max-width: calc(18px * var(--text-zoom)) !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background: #dcfce7 !important;
  color: #15803d !important;
  font-size: calc(11px * var(--text-zoom)) !important;
  font-weight: 900 !important;
  flex: 0 0 calc(18px * var(--text-zoom)) !important;
  margin-top: calc(2px * var(--text-zoom)) !important;
  line-height: 1 !important;
  transition: all 0.15s ease;
}

body.zoom-large .item-check, html.zoom-large .item-check {
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  flex: 0 0 21px !important;
  font-size: 13px !important;
  margin-top: 2px !important;
}

body.zoom-xlarge .item-check, html.zoom-xlarge .item-check {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  flex: 0 0 24px !important;
  font-size: 15px !important;
  margin-top: 3px !important;
}

.checkpoint-items li img,
.bonus-card-items li img {
  width: calc(17px * var(--text-zoom));
  height: calc(17px * var(--text-zoom));
  flex-shrink: 0;
  margin-top: calc(2px * var(--text-zoom));
  transition: width 0.15s ease, height 0.15s ease;
}

/* Bonus Box */
.bonus-section {
  margin: 32px 0;
}

.bonus-lead {
  font-size: calc(20px * var(--text-zoom));
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.bonus-sub {
  font-size: calc(14.5px * var(--text-zoom));
  color: var(--text-muted);
  margin-bottom: 20px;
}

.bonus-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}

.bonus-card-header {
  padding: 12px 16px;
  background: #fffdf5;
  border-bottom: 1px solid #f6e6b8;
  font-size: calc(15.5px * var(--text-zoom));
  font-weight: 700;
  color: #92400e;
}

.bonus-card-items {
  list-style: none;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bonus-card-items li {
  font-size: calc(14.5px * var(--text-zoom));
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.bonus-card-items li img {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Preview Slider Section */
.preview-section {
  margin: 32px 0;
  text-align: center;
}

.preview-title {
  font-size: calc(20px * var(--text-zoom));
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.preview-sub {
  font-size: calc(14px * var(--text-zoom));
  color: var(--text-muted);
  margin-bottom: 16px;
}

.preview-slider-wrap {
  position: relative;
  margin: 14px 0 8px;
}

.preview-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  scrollbar-width: none;
  padding-bottom: 4px;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  will-change: scroll-position;
}

.preview-slider::-webkit-scrollbar {
  display: none;
}

.preview-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: content;
}

.preview-slide-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: #f3f4f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}

.preview-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Hide sticky bar when lightbox is active to prevent z-index clash */
body.has-lightbox-open .sticky-top-a11y {
  display: none !important;
}

/* Lightbox Modal Gallery */
.lightbox-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 2147483647 !important;
  background: #0a0f18 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
  padding: 12px;
  box-sizing: border-box;
  touch-action: pan-y;
}

.lightbox-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.lightbox-content {
  position: relative;
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7);
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.lightbox-caption {
  color: #f3f4f6;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-top: 14px;
  line-height: 1.45;
  padding: 0 16px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  max-width: 600px;
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none !important;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all 0.15s ease;
  line-height: 1;
  padding: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-close-btn:hover,
.lightbox-close-btn:active {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none !important;
  transform: scale(1.05);
}

.lightbox-counter {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  z-index: 30;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none !important;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all 0.15s ease;
  line-height: 1;
  padding: 0;
  user-select: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-nav-btn:hover,
.lightbox-nav-btn:active {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none !important;
  transform: translateY(-50%) scale(1.05);
}

.lightbox-nav-btn.prev {
  left: 14px;
}

.lightbox-nav-btn.next {
  right: 14px;
}

@media (max-width: 640px) {
  .lightbox-modal {
    padding: 8px;
  }
  .lightbox-img-wrap {
    max-height: 72vh;
  }
  .lightbox-img {
    max-height: 72vh;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
  .lightbox-nav-btn.prev {
    left: 8px;
  }
  .lightbox-nav-btn.next {
    right: 8px;
  }
  .lightbox-close-btn {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .lightbox-caption {
    font-size: 13px;
    margin-top: 10px;
  }
}

.preview-slide-body {
  padding: 12px 14px;
  background: #f9fafb;
  border-top: 1px solid var(--line);
  text-align: left;
  flex: 1;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.preview-slide-title {
  font-size: calc(14.5px * var(--text-zoom));
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  width: 100%;
}

/* Slider Controls */
.slider-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: none !important;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s ease, border-color 0.15s ease;
  padding: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.slider-nav-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: #ffffff;
  box-shadow: none !important;
}

.slider-nav-btn.prev {
  left: 6px;
}

.slider-nav-btn.next {
  right: 6px;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.slider-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

.slider-hint {
  font-size: calc(13px * var(--text-zoom));
  color: var(--text-light);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Pricing Section */
.pricing-section {
  border: 2px solid var(--accent);
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  margin-top: 32px;
  scroll-margin-top: 60px;
}

.promo-kicker {
  font-size: calc(20px * var(--text-zoom));
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.promo-discount {
  font-size: calc(15px * var(--text-zoom));
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 12px;
}

.price-strike {
  font-size: calc(17px * var(--text-zoom));
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.price-main {
  font-size: calc(44px * var(--text-zoom));
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.price-urgency {
  font-size: calc(13.5px * var(--text-zoom));
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* Checkout Button */
.btn-checkout {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-size: calc(18px * var(--text-zoom));
  font-weight: 800;
  padding: 18px 24px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(30, 90, 66, 0.3);
  transition: background 0.15s;
}

.btn-checkout:hover {
  background: var(--accent-hover);
}

.checkout-notes {
  margin-top: 20px;
  text-align: left;
  font-size: calc(13.5px * var(--text-zoom));
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.checkout-notes-title {
  font-weight: 700;
  font-size: calc(13.5px * var(--text-zoom));
  color: var(--text-main);
  margin-bottom: 2px;
}

.checkout-notes p {
  line-height: 1.45;
}

/* Footer */
.compact-footer {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.compact-footer a {
  color: var(--text-light);
  text-decoration: underline;
}

/* Legal Pages (Privacy Policy & Disclaimer) */
.legal-wrapper {
  max-width: 530px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  padding: 30px 24px 90px;
}

@media (max-width: 480px) {
  .legal-wrapper {
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 24px 18px 90px;
  }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 20px;
}

.back-link:hover {
  text-decoration: underline;
}

.legal-header h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 6px;
}

.legal-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.legal-article h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line);
}

.legal-article p,
.legal-article li {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 10px;
}

.legal-article ol,
.legal-article ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-preamble {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-main);
  margin: 18px 0 22px;
}

.legal-toc {
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13px;
}

.legal-toc ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc li::before {
  content: "• ";
  color: var(--accent);
  font-weight: 800;
}

/* Sticky Return Bar for Legal / Sub-Pages */
.sticky-legal-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
  z-index: 99;
}

.sticky-legal-inner {
  max-width: 530px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Rata kanan agar pas di jempol */
}

.sticky-legal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(30, 90, 66, 0.25);
  transition: background 0.15s, transform 0.1s;
}

.sticky-legal-btn:hover {
  background: var(--accent-hover);
}

.sticky-legal-btn:active {
  transform: scale(0.98);
}

/* Compact Buyer Notification Toast (Theme Styled) */
.buyer-notice {
  position: fixed;
  bottom: 20px;
  left: 16px;
  max-width: 340px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

@media (min-width: 641px) {
  .buyer-notice {
    bottom: 24px;
    left: 24px;
    max-width: 360px;
  }
}

.buyer-notice.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.buyer-notice-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #cce3d5;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.buyer-notice-copy {
  flex: 1;
  min-width: 0;
}

.buyer-notice-kicker {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.buyer-notice-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.buyer-notice-name {
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.buyer-notice-dot {
  color: #9ca3af;
  font-size: 10px;
}

.buyer-notice-time {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
}

.buyer-notice-product {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

.buyer-notice-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  margin-left: -4px;
  transition: color 0.15s;
}

.buyer-notice-close:hover {
  color: var(--text-main);
}

/* ==========================================================================
   In-App Browser & WebView Direct Zoom Classes (100% Reliable Cascade)
   ========================================================================== */
body.zoom-large h1, html.zoom-large h1 { font-size: 30px !important; }
body.zoom-large .sub-headline, html.zoom-large .sub-headline { font-size: 19.5px !important; }
body.zoom-large .role-text, html.zoom-large .role-text { font-size: 17.5px !important; }
body.zoom-large .problem-lead, html.zoom-large .problem-lead { font-size: 19.5px !important; }
body.zoom-large .problem-intro, html.zoom-large .problem-intro,
body.zoom-large .problem-item, html.zoom-large .problem-item { font-size: 18px !important; }
body.zoom-large .problem-stop-lead, html.zoom-large .problem-stop-lead { font-size: 20px !important; }
body.zoom-large .solution-lead, html.zoom-large .solution-lead { font-size: 20.5px !important; }
body.zoom-large .solution-body, html.zoom-large .solution-body { font-size: 17.5px !important; }
body.zoom-large .checklist-title, html.zoom-large .checklist-title { font-size: 23.5px !important; }
body.zoom-large .checkpoint-header, html.zoom-large .checkpoint-header,
body.zoom-large .bonus-card-header, html.zoom-large .bonus-card-header { font-size: 19px !important; }
body.zoom-large .checkpoint-items li, html.zoom-large .checkpoint-items li,
body.zoom-large .bonus-card-items li, html.zoom-large .bonus-card-items li { font-size: 17px !important; }
body.zoom-large .checkpoint-items li img, body.zoom-large .bonus-card-items li img,
html.zoom-large .checkpoint-items li img, html.zoom-large .bonus-card-items li img { width: 20px !important; height: 20px !important; margin-top: 2px !important; }
body.zoom-large .preview-title, html.zoom-large .preview-title { font-size: 23px !important; }
body.zoom-large .preview-slide-title, html.zoom-large .preview-slide-title { font-size: 17px !important; }
body.zoom-large .promo-kicker, html.zoom-large .promo-kicker { font-size: 23px !important; }
body.zoom-large .price-main, html.zoom-large .price-main { font-size: 52px !important; }
body.zoom-large .btn-checkout, html.zoom-large .btn-checkout { font-size: 21px !important; }
body.zoom-large .checkout-notes, html.zoom-large .checkout-notes,
body.zoom-large .checkout-notes p, html.zoom-large .checkout-notes p { font-size: 16px !important; }

body.zoom-xlarge h1, html.zoom-xlarge h1 { font-size: 34px !important; }
body.zoom-xlarge .sub-headline, html.zoom-xlarge .sub-headline { font-size: 22px !important; }
body.zoom-xlarge .role-text, html.zoom-xlarge .role-text { font-size: 20px !important; }
body.zoom-xlarge .problem-lead, html.zoom-xlarge .problem-lead { font-size: 22px !important; }
body.zoom-xlarge .problem-intro, html.zoom-xlarge .problem-intro,
body.zoom-xlarge .problem-item, html.zoom-xlarge .problem-item { font-size: 21px !important; }
body.zoom-xlarge .problem-stop-lead, html.zoom-xlarge .problem-stop-lead { font-size: 23px !important; }
body.zoom-xlarge .solution-lead, html.zoom-xlarge .solution-lead { font-size: 23.5px !important; }
body.zoom-xlarge .solution-body, html.zoom-xlarge .solution-body { font-size: 20px !important; }
body.zoom-xlarge .checklist-title, html.zoom-xlarge .checklist-title { font-size: 27px !important; }
body.zoom-xlarge .checkpoint-header, html.zoom-xlarge .checkpoint-header,
body.zoom-xlarge .bonus-card-header, html.zoom-xlarge .bonus-card-header { font-size: 22px !important; }
body.zoom-xlarge .checkpoint-items li, html.zoom-xlarge .checkpoint-items li,
body.zoom-xlarge .bonus-card-items li, html.zoom-xlarge .bonus-card-items li { font-size: 19.5px !important; }
body.zoom-xlarge .checkpoint-items li img, body.zoom-xlarge .bonus-card-items li img,
html.zoom-xlarge .checkpoint-items li img, html.zoom-xlarge .bonus-card-items li img { width: 23px !important; height: 23px !important; margin-top: 3px !important; }
body.zoom-xlarge .preview-title, html.zoom-xlarge .preview-title { font-size: 27px !important; }
body.zoom-xlarge .preview-slide-title, html.zoom-xlarge .preview-slide-title { font-size: 19.5px !important; }
body.zoom-xlarge .promo-kicker, html.zoom-xlarge .promo-kicker { font-size: 27px !important; }
body.zoom-xlarge .price-main, html.zoom-xlarge .price-main { font-size: 59px !important; }
body.zoom-xlarge .btn-checkout, html.zoom-xlarge .btn-checkout { font-size: 24px !important; }
body.zoom-xlarge .checkout-notes, html.zoom-xlarge .checkout-notes,
body.zoom-xlarge .checkout-notes p, html.zoom-xlarge .checkout-notes p { font-size: 18px !important; }

/* Topbar goes behind popup modal when open */
body.has-promo-open .sticky-top-a11y {
  z-index: 1000 !important;
  opacity: 0.25 !important;
  filter: blur(2px);
  pointer-events: none !important;
}

/* Promo Claim Voucher Modal (Stand-alone Layer, Fixed Sizing) */
.promo-modal {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 2147483647 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease-out, visibility 0.22s ease-out;
}

.promo-modal.is-active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.promo-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 24, 0.78);
}

.promo-modal.is-active .promo-modal-backdrop {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.promo-modal-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 16px;
  padding: 22px 18px 18px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
  z-index: 2;
  box-sizing: border-box;
  transform: translateY(14px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-modal.is-active .promo-modal-card {
  transform: translateY(0) scale(1);
}

.promo-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 14px !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  padding: 0;
}

.promo-modal-close:hover {
  background: #e5e7eb;
  color: #111827;
}

.promo-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 10.5px !important;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  line-height: 1.3;
}

.promo-modal-title {
  font-size: 16px !important;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 8px;
}

.promo-price-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.promo-strike {
  font-size: 14px !important;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 600;
}

.promo-arrow {
  color: #15803d;
  font-weight: 800;
  font-size: 14px !important;
}

.promo-deal {
  font-size: 24px !important;
  font-weight: 900;
  color: #15803d;
  letter-spacing: -0.02em;
}

.promo-desc {
  font-size: 12px !important;
  color: #4b5563;
  line-height: 1.45;
  margin-bottom: 14px;
  padding: 0 4px;
}

.promo-cta-btn {
  display: block;
  width: 100%;
  background: #15803d;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.promo-cta-btn:hover,
.promo-cta-btn:active {
  background: #166534;
  transform: translateY(-1px);
}

.promo-dismiss-btn {
  display: inline-block;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 11.5px !important;
  font-weight: 600;
  margin-top: 8px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s ease;
}

.promo-dismiss-btn:hover {
  color: #4b5563;
}

/* Centered Success Claim Toast */
.promo-claim-toast {
  display: none;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.92) !important;
  background: rgba(17, 24, 39, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
  align-items: center !important;
  gap: 12px !important;
  z-index: 2147483647 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease-out, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  max-width: 320px !important;
  width: calc(100% - 48px) !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.promo-claim-toast.is-active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

.claim-toast-icon {
  font-size: 24px !important;
  line-height: 1;
  flex-shrink: 0;
}

.claim-toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.claim-toast-body strong {
  font-size: 13.5px !important;
  font-weight: 800;
  color: #4ade80 !important;
}

.claim-toast-body span {
  font-size: 12px !important;
  color: #f3f4f6 !important;
  line-height: 1.35;
}
