:root {
  --primary: #0E6B5C;
  --primary-dark: #09473D;
  --primary-light: #E6F5EE;
  --surface: #F1F4F2;
  --card-bg: #FFFFFF;
  --text-main: #12261F;
  --text-muted: #566A63;
  --border-color: #E2E8F0;
  --accent-green: #0E7A55;
  --accent-red: #B83A2E;
  --leaf-transition: 0.78s cubic-bezier(0.25, 0.9, 0.3, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--surface);
  color: var(--text-main);
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Viewport & 3D Book Frame
   ========================================================================== */
.viewport {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  perspective: 2600px;
  -webkit-perspective: 2600px;
  position: relative;
  box-sizing: border-box;
}

/* Zoom Container (Pusat Pembesaran 3D & Dobel Klik) */
.zoom-container {
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
}

.zoom-container.is-zoomed {
  cursor: zoom-out;
}

/* 3D Book Frame - Fleksibel Mengisi Ruang Layar */
.book {
  position: relative;
  width: min(94vw, calc((100vh - 84px) * 1.48));
  height: min(calc(100vh - 84px), calc(94vw / 1.48));
  max-width: 1400px;
  max-height: 880px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  border-radius: 14px;
  background: transparent;
  box-shadow:
    -3px 2px 0 -1px #E2E8F0,
    3px 2px 0 -1px #E2E8F0,
    -6px 4px 0 -2px #ECEEEF,
    6px 4px 0 -2px #ECEEEF,
    0 20px 50px rgba(18, 38, 31, 0.12);
  user-select: none;
  transition: transform var(--leaf-transition), box-shadow var(--leaf-transition);
}

/* ==========================================================================
   State Tertutup Desktop: Sampul Depan & Belakang Terpusat (>= 769px)
   Efek Hardcover 3D: Punggung Buku, Lekukan Engsel (Crease), & Page Block
   ========================================================================== */
@media (min-width: 769px) {
  .book.is-closed-start {
    transform: translateX(-25%);
    box-shadow: none;
    background: transparent;
  }

  .book.is-closed-start .book-spine-crease {
    opacity: 0;
    pointer-events: none;
  }

  .book.is-closed-start #leaf1 .page-front {
    display: block !important;
    border-radius: 4px 14px 14px 4px !important;
    border-left: 1px solid rgba(0, 0, 0, 0.22);
    box-shadow:
      /* Halus & proporsional: tumpukan lembar kertas di sisi kanan & bawah */
      1px 0 0 0 #ECE8DC,
      2px 1px 0 0 #E2DDD0,
      3px 1px 0 0 #D5CFC0,
      4px 2px 0 0 #C8C1B0,
      0 1px 0 0 #ECE8DC,
      0 2px 0 0 #E2DDD0,
      0 3px 0 0 #D5CFC0,
      0 4px 1px 0 #C8C1B0,
      /* Bayangan jatuh ambient yang natural */
      12px 20px 38px rgba(9, 71, 61, 0.18),
      2px 6px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .book.is-closed-start #leaf1 .page-back {
    display: none !important;
  }

  .book.is-closed-start #leaf1:hover .page-front {
    transform: rotateY(0deg) translateY(-3px) translateZ(1.5px);
    box-shadow:
      1px 0 0 0 #ECE8DC,
      2px 1px 0 0 #E2DDD0,
      3px 1px 0 0 #D5CFC0,
      5px 2px 0 0 #C8C1B0,
      0 1px 0 0 #ECE8DC,
      0 2px 0 0 #E2DDD0,
      0 3px 0 0 #D5CFC0,
      0 5px 1px 0 #C8C1B0,
      16px 26px 46px rgba(9, 71, 61, 0.24),
      3px 8px 18px rgba(0, 0, 0, 0.10);
  }

  /* Sembunyikan lembaran isi yang tertutup di bawah sampul depan (cegah 3D bleed-through saat buku tertutup penuh) */
  .book.is-closed-start.is-settled #leaf2,
  .book.is-closed-start.is-settled #leaf3,
  .book.is-closed-start.is-settled #leaf4 {
    display: none !important;
  }

  /* State Akhir: Sampul Belakang Tertutup (Satu Tampilan Tunggal Terpusat) */
  .book.is-closed-end {
    transform: translateX(25%);
    box-shadow: none;
    background: transparent;
  }

  .book.is-closed-end .book-spine-crease {
    opacity: 0;
    pointer-events: none;
  }

  .book.is-closed-end #leaf4 .page-front {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .book.is-closed-end #leaf4 .page-back {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-radius: 14px 4px 4px 14px !important;
    border-right: 1px solid rgba(0, 0, 0, 0.22);
    box-shadow:
      /* Halus & proporsional: tumpukan lembar kertas di sisi kiri & bawah */
      -1px 0 0 0 #ECE8DC,
      -2px 1px 0 0 #E2DDD0,
      -3px 1px 0 0 #D5CFC0,
      -4px 2px 0 0 #C8C1B0,
      0 1px 0 0 #ECE8DC,
      0 2px 0 0 #E2DDD0,
      0 3px 0 0 #D5CFC0,
      0 4px 1px 0 #C8C1B0,
      /* Bayangan jatuh ambient yang natural */
      -12px 20px 38px rgba(9, 71, 61, 0.18),
      -2px 6px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .book.is-closed-end #leaf4:hover .page-back {
    transform: rotateY(-180deg) translateY(-3px) translateZ(1.5px);
    box-shadow:
      -1px 0 0 0 #ECE8DC,
      -2px 1px 0 0 #E2DDD0,
      -3px 1px 0 0 #D5CFC0,
      -5px 2px 0 0 #C8C1B0,
      0 1px 0 0 #ECE8DC,
      0 2px 0 0 #E2DDD0,
      0 3px 0 0 #D5CFC0,
      0 5px 1px 0 #C8C1B0,
      -16px 26px 46px rgba(9, 71, 61, 0.24),
      -3px 8px 18px rgba(0, 0, 0, 0.10);
  }

  /* Sembunyikan lembaran isi yang tertutup di bawah sampul belakang (cegah 3D bleed-through saat buku tertutup penuh) */
  .book.is-closed-end.is-settled #leaf1,
  .book.is-closed-end.is-settled #leaf2,
  .book.is-closed-end.is-settled #leaf3 {
    display: none !important;
  }
}

    /* Spine Center Crease (Garis Lipatan Tengah Alami Saat Buku Terbuka) */
    .book-spine-crease {
      position: absolute;
      top: 0;
      bottom: 0;
      left: calc(50% - 18px);
      width: 36px;
      background: linear-gradient(to right,
          rgba(0, 0, 0, 0.01) 0%,
          rgba(0, 0, 0, 0.06) 25%,
          rgba(0, 0, 0, 0.16) 45%,
          rgba(0, 0, 0, 0.32) 50%,
          rgba(0, 0, 0, 0.16) 55%,
          rgba(0, 0, 0, 0.06) 75%,
          rgba(0, 0, 0, 0.01) 100%);
      z-index: 100;
      pointer-events: none;
      transition: opacity var(--leaf-transition);
    }

    /* ==========================================================================
   3D Flipping Leaf (Lembaran Buku)
   ========================================================================== */
    .leaf {
      position: absolute;
      top: 0;
      right: 0;
      width: 50%;
      height: 100%;
      transform-origin: left center;
      transform-style: preserve-3d;
      -webkit-transform-style: preserve-3d;
      transition: transform var(--leaf-transition);
      cursor: pointer;
    }


      .leaf.flipping {
        z-index: 45 !important;
      }

      .leaf.flipping .page-front,
      .leaf.flipping .page-back {
        box-shadow: 0 24px 48px rgba(18, 38, 31, 0.22);
      }

      .page-face {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        box-sizing: border-box;
      }

      .page-front {
        transform: rotateY(0deg) translateZ(1.5px);
        -webkit-transform: rotateY(0deg) translateZ(1.5px);
        border-radius: 0 14px 14px 0;
        border-left: 1px solid rgba(0, 0, 0, 0.06);
        background-color: var(--card-bg);
        transition: border-radius var(--leaf-transition), box-shadow var(--leaf-transition);
      }

      .page-back {
        transform: rotateY(-180deg) translateZ(1.5px);
        -webkit-transform: rotateY(-180deg) translateZ(1.5px);
        border-radius: 14px 0 0 14px;
        border-right: 1px solid rgba(0, 0, 0, 0.06);
        background-color: var(--card-bg);
        transition: border-radius var(--leaf-transition), box-shadow var(--leaf-transition);
      }

      /* Sampul Depan Tunggal (#leaf1 .page-front) */
      #leaf1 .page-front {
        background: #FFFFFF;
        border-left: 1px solid rgba(4, 36, 68, 0.1);
        color: #042444;
      }

      #leaf1 .page-front .cover-badge {
        background: rgba(0, 119, 212, 0.08);
        border: 1px solid rgba(0, 119, 212, 0.25);
        color: #042444;
        box-shadow: none;
      }

      #leaf1 .page-front .cover-summary {
        color: #334155;
        text-shadow: none;
      }

      #leaf1 .page-front .cover-pill-btn {
        background: #042444;
        border: 1px solid #042444;
        color: #FFFFFF;
        box-shadow: 0 4px 14px rgba(4, 36, 68, 0.18);
      }

      #leaf1 .page-front .cover-pill-btn:hover {
        background: #0077D4;
        border-color: #0077D4;
        box-shadow: 0 6px 18px rgba(0, 119, 212, 0.28);
      }

      .cover-brand-wrap {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
      }

      .cover-brand-img {
        width: min(320px, 88%);
        max-width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        user-select: none;
        -webkit-user-drag: none;
      }

      .cover-url-pill {
        display: inline-block;
        margin-top: 6px;
        padding: 5px 14px;
        border-radius: 999px;
        background: rgba(0, 119, 212, 0.08);
        border: 1px solid rgba(0, 119, 212, 0.22);
        color: #0077D4;
        font-size: 11.5px;
        font-weight: 700;
        text-decoration: none;
      }

      .cover-url-pill:hover {
        background: rgba(0, 119, 212, 0.14);
      }

      .legal-list {
        list-style: none;
        margin: 6px 0 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 11px;
        line-height: 1.45;
        color: var(--text-muted);
      }

      .legal-list strong {
        color: var(--text-main);
      }

      .pillar-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      .pillar-item {
        display: flex;
        align-items: center;
        gap: 8px;
        background: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        padding: 8px 10px;
        font-size: 11px;
        font-weight: 600;
        color: var(--text-main);
        line-height: 1.3;
      }

      .pillar-num {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: var(--primary);
        color: #FFFFFF;
        font-size: 10.5px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }

      .compare-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 11px;
        background: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        overflow: hidden;
      }

      .compare-table th,
      .compare-table td {
        padding: 6px 8px;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
      }

      .compare-table th {
        background: var(--primary-dark);
        color: #FFFFFF;
        font-size: 10.5px;
        font-weight: 700;
      }

      .compare-table th:not(:first-child),
      .compare-table td:not(:first-child) {
        text-align: center;
        width: 56px;
      }

      .compare-table tr:last-child td {
        border-bottom: none;
      }

      .compare-table .ck {
        color: var(--primary);
        font-weight: 800;
      }

      .compare-table .ds {
        color: var(--text-muted);
      }

      .addon-badge {
        display: inline-block;
        padding: 1px 6px;
        border-radius: 999px;
        background: rgba(0, 119, 212, 0.12);
        color: #0077D4;
        font-size: 9.5px;
        font-weight: 700;
      }

      .price-card {
        background: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        padding: 9px 11px;
      }

      .price-card-pro {
        border-color: rgba(0, 119, 212, 0.35);
        background: rgba(0, 119, 212, 0.04);
      }

      .price-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 4px;
      }

      .price-head h3 {
        font-size: 12.5px;
        margin: 0;
      }

      .price-sub {
        font-size: 10px;
        color: var(--text-muted);
        display: block;
      }

      .price-val {
        text-align: right;
        line-height: 1.2;
      }

      .price-val strong {
        font-size: 13px;
        color: var(--primary-dark);
        display: block;
      }

      .price-strike {
        font-size: 9.5px;
        color: var(--text-muted);
        text-decoration: line-through;
        display: block;
      }

      .price-card p {
        font-size: 10.5px;
        margin: 0;
        color: var(--text-muted);
      }

      .cover-hero-img {
        width: min(210px, 68%);
        height: auto;
        object-fit: contain;
        margin: 4px auto;
        display: block;
      }

      .cover-mascot-img {
        width: 84px;
        height: auto;
        object-fit: contain;
        margin: 0 auto 4px;
        display: block;
      }

      .noer-row {
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .noer-logo {
        width: 52px;
        height: 52px;
        object-fit: contain;
        flex-shrink: 0;
        border-radius: 8px;
        background: #FFFFFF;
        border: 1px solid var(--border-color);
        padding: 4px;
      }

      .cert-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      .cert-item,
      .solusi-tile {
        margin: 0;
        background: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 5px;
        text-align: center;
      }

      .cert-item img {
        width: 100%;
        height: 112px;
        object-fit: cover;
        object-position: top;
        border-radius: 4px;
        display: block;
      }

      .cert-item figcaption,
      .solusi-tile figcaption {
        font-size: 9.5px;
        color: var(--text-muted);
        margin-top: 4px;
        line-height: 1.25;
      }

      .app-strip {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
      }

      .app-strip img {
        width: 100%;
        height: 120px;
        object-fit: contain;
        background: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 3px;
        display: block;
      }

      .solusi-visual-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      .solusi-tile img {
        width: 100%;
        height: 146px;
        object-fit: contain;
        border-radius: 4px;
        display: block;
      }

      .visual-frame {
        background: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        padding: 6px;
      }

      .visual-frame img {
        width: 100%;
        max-height: 235px;
        object-fit: contain;
        border-radius: 6px;
        display: block;
      }

      .price-summary-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
      }

      .price-mini {
        background: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 6px;
        text-align: center;
      }

      .price-mini strong {
        display: block;
        font-size: 10.5px;
        color: var(--primary-dark);
      }

      .price-mini span {
        font-size: 9.5px;
        color: var(--text-muted);
      }

      .contact-top-row {
        display: flex;
        align-items: stretch;
        gap: 10px;
      }

      .qr-card {
        width: 104px;
        flex-shrink: 0;
        background: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        padding: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-align: center;
      }

      .qr-card img {
        width: 80px;
        height: 80px;
        object-fit: contain;
      }

      .qr-card span {
        font-size: 9.5px;
        font-weight: 700;
        color: var(--primary-dark);
        line-height: 1.2;
      }

      .zoomable-img {
        cursor: zoom-in;
      }

      .img-lightbox {
        position: fixed;
        inset: 0;
        background: rgba(4, 36, 68, 0.86);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
        z-index: 9999;
      }

      .img-lightbox.is-open {
        display: flex;
      }

      .img-lightbox img {
        max-width: 92vw;
        max-height: 88vh;
        border-radius: 10px;
        background: #FFFFFF;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
      }

      .lightbox-close {
        position: fixed;
        top: 16px;
        right: 20px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: none;
        background: #FFFFFF;
        color: #042444;
        font-size: 24px;
        font-weight: 700;
        cursor: pointer;
      }

      /* Lekukan Engsel Fisik Hardcover Sampul Depan (Hinge Joint Crease Halus & Alami) */
      #leaf1 .page-front::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 28px;
        background: linear-gradient(to right,
          rgba(0, 0, 0, 0.22) 0%,
          rgba(0, 0, 0, 0.06) 6px,
          rgba(255, 255, 255, 0.03) 12px,
          rgba(0, 0, 0, 0.22) 16px,
          rgba(255, 255, 255, 0.08) 17.5px,
          rgba(0, 0, 0, 0.05) 20px,
          transparent 28px
        );
        pointer-events: none;
        z-index: 12;
        border-radius: inherit;
      }

      /* Sampul Belakang Resmi (#leaf4 .page-back) */
      #leaf4 .page-back {
        background: #09372F url('assets/cover-back.webp') center center / cover no-repeat;
        color: #FFFFFF;
      }

      /* Lekukan Engsel Fisik Hardcover Sampul Belakang (Hinge Joint Crease Halus & Alami - Sisi Kanan) */
      #leaf4 .page-back::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 28px;
        background: linear-gradient(to left,
          rgba(0, 0, 0, 0.22) 0%,
          rgba(0, 0, 0, 0.06) 6px,
          rgba(255, 255, 255, 0.03) 12px,
          rgba(0, 0, 0, 0.22) 16px,
          rgba(255, 255, 255, 0.08) 17.5px,
          rgba(0, 0, 0, 0.05) 20px,
          transparent 28px
        );
        pointer-events: none;
        z-index: 12;
        border-radius: inherit;
      }

      /* Inner Page Container */
      .page-inner {
        width: 100%;
        height: 100%;
        padding: clamp(22px, 3.8vh, 40px) clamp(20px, 2.8vw, 38px);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
        position: relative;
        background-color: var(--card-bg);
        overflow-y: auto;
        border-radius: inherit;
      }

      /* Page Inner Fold Shading */
      .page-front .page-inner::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 20px;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.04), transparent);
        pointer-events: none;
      }

      .page-back .page-inner::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 20px;
        background: linear-gradient(to left, rgba(0, 0, 0, 0.04), transparent);
        pointer-events: none;
      }

      /* Cover Styling (Halaman Sampul) */
      .page-cover-inner {
        background: transparent !important;
        color: #FFFFFF;
        text-align: center;
        align-items: center;
        justify-content: space-between;
        padding: clamp(26px, 4.5vh, 48px) clamp(20px, 3vw, 40px);
      }

      .page-cover-inner::before {
        display: none !important;
      }

      .cover-badge {
        display: inline-block;
        background: rgba(8, 48, 40, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(226, 183, 85, 0.4);
        color: #F8F5EE;
        padding: 5px 16px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.8px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
      }

      .cover-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
      }

      .avatar-circle {
        width: 82px;
        height: 82px;
        background-color: #FFFFFF;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.16);
        margin-bottom: 8px;
        border: 2px solid rgba(226, 183, 85, 0.65);
        overflow: hidden;
        flex-shrink: 0;
      }

      .avatar-circle .avatar-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 6px;
        display: block;
        user-select: none;
        -webkit-user-drag: none;
      }

      .cover-name {
        font-size: clamp(22px, 2.3vw, 30px);
        font-weight: 800;
        color: #FFFFFF;
        line-height: 1.25;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
      }

      .cover-role {
        font-size: clamp(12px, 1.1vw, 14px);
        color: #E6C875;
        font-weight: 600;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
      }

      .cover-tagline {
        font-size: 11.5px;
        font-weight: 700;
        color: #D1EAE2;
        letter-spacing: 0.6px;
        margin-top: 2px;
        text-transform: uppercase;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
      }

      .cover-summary {
        font-size: clamp(12.5px, 1.15vw, 14px);
        color: #E2F0EC;
        line-height: 1.6;
        max-width: 380px;
        margin: 6px auto 0;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
      }

      .cover-pill-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(8, 48, 40, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: #FFFFFF;
        border: 1px solid rgba(226, 183, 85, 0.45);
        padding: 8px 22px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
      }

      .cover-pill-btn:hover {
        background: rgba(14, 59, 50, 0.85);
        border-color: rgba(226, 183, 85, 0.75);
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
      }

      .cover-hint {
        font-size: 12px;
        font-weight: 600;
        color: #A3D4C4;
        padding: 8px 16px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s ease;
      }

      /* Page Header */
      .page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 10px;
        margin-bottom: 14px;
      }

      .page-category {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: var(--primary);
      }

      .page-num {
        font-size: 11px;
        font-weight: 700;
        color: var(--text-muted);
      }

      .page-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 12px;
      }

      .page-footer {
        font-size: 10.5px;
        color: var(--text-muted);
        text-align: center;
        border-top: 1px solid var(--border-color);
        padding-top: 8px;
        margin-top: 10px;
      }

      /* Fluid Scalable Typography */
      h1 {
        font-size: clamp(22px, 2.2vw, 28px);
        font-weight: 800;
        line-height: 1.25;
        color: var(--text-main);
      }

      h2 {
        font-size: clamp(16.5px, 1.7vw, 21px);
        font-weight: 800;
        color: var(--text-main);
      }

      h3 {
        font-size: 13.5px;
        font-weight: 700;
        color: var(--text-main);
      }

      p {
        font-size: 12.5px;
        color: var(--text-muted);
        line-height: 1.55;
      }

      /* Content Components */
      .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin: 4px 0;
      }

      .stat-item {
        background-color: var(--surface);
        border: 1px solid var(--border-color);
        padding: 10px 8px;
        border-radius: 10px;
        text-align: center;
      }

      .stat-value {
        font-size: clamp(16px, 1.6vw, 19px);
        font-weight: 800;
        color: var(--primary);
        font-variant-numeric: tabular-nums;
      }

      .stat-label {
        font-size: 10.5px;
        color: var(--text-muted);
        margin-top: 2px;
        font-weight: 600;
      }

      .card-box {
        background-color: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        padding: 9px 12px;
        transition: border-color 0.18s ease, box-shadow 0.18s ease;
      }

      .card-box:hover {
        border-color: var(--primary);
        box-shadow: 0 4px 12px rgba(14, 107, 92, 0.06);
      }

      .card-box h3 {
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 2px;
        color: var(--text-main);
      }

      .card-box p {
        font-size: 11px;
        line-height: 1.45;
        color: var(--text-muted);
      }

      .pill-tag {
        display: inline-block;
        background-color: var(--surface);
        color: var(--primary);
        border: 1px solid var(--border-color);
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 600;
        margin-right: 4px;
        margin-bottom: 6px;
      }

      .btn-app-hub-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 8px;
        padding: 7px 12px;
        background-color: var(--primary-light);
        color: var(--primary);
        border: 1px solid var(--border-color);
        border-radius: 9px;
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.2s ease;
      }

      .btn-app-hub-link:hover {
        background-color: var(--primary);
        color: #FFFFFF;
        border-color: var(--primary);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(14, 107, 92, 0.15);
      }

      .btn-store-nav {
        height: 36px;
        padding: 0 14px;
        font-size: 12px;
        font-weight: 700;
        color: var(--primary);
        background-color: #FFFFFF;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-decoration: none;
        transition: all 0.2s ease;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
      }

      .btn-store-nav:hover {
        background-color: var(--primary);
        color: #FFFFFF;
        border-color: var(--primary);
      }

      .project-card {
        background-color: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        gap: 2px;
        transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
      }

      .project-card:hover {
        border-color: var(--primary);
        box-shadow: 0 4px 12px rgba(14, 107, 92, 0.08);
      }

      .project-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
      }

      .project-header h3 {
        font-size: 13px;
        font-weight: 700;
        margin: 0;
        color: var(--text-main);
      }

      .project-card p {
        font-size: 11px;
        line-height: 1.45;
        color: var(--text-muted);
        margin: 2px 0 4px 0;
      }

      .project-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
      }

      .project-tag {
        font-size: 9.5px;
        font-weight: 700;
        color: var(--primary);
        background-color: var(--primary-light);
        padding: 2px 7px;
        border-radius: 4px;
        white-space: nowrap;
      }

      .quote-box {
        font-style: italic;
        font-size: 12px;
        color: var(--text-main);
        line-height: 1.5;
        border-left: 3px solid var(--primary);
        padding-left: 10px;
        margin-bottom: 6px;
      }

      .quote-author {
        font-size: 11px;
        font-weight: 700;
        color: var(--primary);
        text-align: right;
      }

      .contact-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 270px;
        margin: 10px 0;
      }

      .btn-action {
        height: 42px;
        min-height: 42px;
        padding: 0 16px;
        font-size: 12px;
        font-weight: 700;
        border-radius: 10px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        box-sizing: border-box;
        width: 100%;
        font-family: inherit;
        line-height: 1;
        border: 1.5px solid transparent;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
      }

      .btn-action svg {
        flex-shrink: 0;
      }

      .btn-action:active {
        transform: scale(0.985);
      }

      .btn-action:focus-visible {
        outline: 2px solid var(--accent-gold);
        outline-offset: 2px;
      }

      .btn-whatsapp {
        background-color: #25D366;
        color: #FFFFFF;
        border-color: #20BA5A;
      }

      .btn-whatsapp:hover {
        background-color: #20BA5A;
        border-color: #1DA851;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
      }

      .btn-primary {
        background-color: var(--primary);
        color: #FFFFFF;
        border-color: var(--primary);
      }

      .btn-primary:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        box-shadow: 0 4px 12px rgba(14, 107, 92, 0.25);
      }

      .btn-outline {
        background-color: #FFFFFF;
        color: var(--primary);
        border-color: var(--primary);
      }

      .btn-outline:hover {
        background-color: var(--primary-light);
        border-color: var(--primary);
        box-shadow: 0 4px 12px rgba(14, 107, 92, 0.15);
      }

      /* Toast Notifikasi Interaksi */
      .toast-notification {
        position: fixed;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(14px);
        background-color: #0E3B33;
        color: #FFFFFF;
        font-size: 12px;
        font-weight: 600;
        padding: 9px 18px;
        border-radius: 999px;
        box-shadow: 0 8px 24px rgba(9, 71, 61, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.18);
        display: flex;
        align-items: center;
        gap: 8px;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        z-index: 9999;
        max-width: 90vw;
        text-align: center;
      }

      .toast-notification.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
      }

      /* ==========================================================================
   Bottom Controls Toolbar
   ========================================================================== */
      .controls-toolbar {
        position: fixed;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 6px 14px;
        border-radius: 999px;
        box-shadow: 0 4px 20px rgba(18, 38, 31, 0.08);
        border: 1px solid var(--border-color);
        z-index: 200;
        flex-shrink: 0;
      }

      .nav-btn,
      .btn-fullscreen,
      .btn-zoom,
      .btn-sound {
        height: 36px;
        padding: 0 14px;
        font-size: 12px;
        font-weight: 700;
        color: var(--primary);
        background-color: #FFFFFF;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all 0.2s ease;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
      }

      .nav-btn:hover:not(:disabled),
      .btn-fullscreen:hover,
      .btn-zoom:hover,
      .btn-sound:hover {
        background-color: var(--primary);
        color: #FFFFFF;
        border-color: var(--primary);
      }

      .btn-zoom.active {
        background-color: var(--primary-dark);
        color: #FFFFFF;
        border-color: var(--primary-dark);
      }

      .btn-sound.is-muted {
        opacity: 0.65;
        background-color: #F8FAFC;
        color: var(--text-muted);
      }

      .nav-btn:disabled {
        opacity: 0.35;
        cursor: not-allowed;
        background-color: #F8FAFC;
        color: var(--text-muted);
      }

      .page-indicator {
        font-size: 12px;
        font-weight: 700;
        color: var(--text-main);
        min-width: 170px;
        text-align: center;
        white-space: nowrap;
      }

      /* ==========================================================================
   Mobile Responsive Adaptation: Single Page Card Mode (< 768px)
   ========================================================================== */
      @media (max-width: 768px) {
        body {
          padding: 0;
          justify-content: center;
        }

        .viewport {
          width: 100vw;
          height: 100vh;
          perspective: none;
          -webkit-perspective: none;
          padding: 12px 10px 72px;
          box-sizing: border-box;
        }

        .book {
          width: 100%;
          max-width: 420px;
          height: 100%;
          max-height: calc(100vh - 84px);
          transform: none !important;
          transform-style: flat;
          -webkit-transform-style: flat;
          background: transparent;
          box-shadow: none;
          border-radius: 16px;
        }

        .book.is-closed-start,
        .book.is-closed-end {
          transform: none !important;
        }

        .book-spine-crease {
          display: none !important;
        }

        /* Lembaran di-reset pada mode HP */
        .leaf {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          transform: none !important;
          transition: none !important;
          transform-style: flat;
          -webkit-transform-style: flat;
          cursor: default;
        }

        /* Setiap Muka Halaman Menjadi Kartu Tunggal */
        .page-face,
        .page-front,
        .page-back {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          display: block !important;
          transform: none !important;
          -webkit-transform: none !important;
          backface-visibility: visible !important;
          -webkit-backface-visibility: visible !important;
          border-radius: 16px !important;
          border: 1px solid var(--border-color);
          box-shadow: 0 10px 30px rgba(18, 38, 31, 0.08);
          opacity: 0;
          pointer-events: none;
          visibility: hidden;
          transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
          transform: translateX(24px) scale(0.98);
          z-index: 1;
        }

        .page-face.mobile-active {
          opacity: 1 !important;
          pointer-events: auto !important;
          visibility: visible !important;
          display: block !important;
          transform: translateX(0) scale(1) !important;
          -webkit-transform: translateX(0) scale(1) !important;
          z-index: 10 !important;
        }

        .page-face.mobile-prev {
          opacity: 0 !important;
          pointer-events: none !important;
          visibility: hidden !important;
          transform: translateX(-24px) scale(0.98) !important;
          -webkit-transform: translateX(-24px) scale(0.98) !important;
          z-index: 5 !important;
        }

        .page-inner::before {
          display: none !important;
        }

        .page-inner {
          padding: 22px 18px;
          overflow-y: auto;
          -webkit-overflow-scrolling: touch;
        }

        .page-cover-inner {
          padding: 30px 18px;
        }

        .avatar-circle {
          width: 72px;
          height: 72px;
          margin-bottom: 6px;
        }

        .avatar-circle .avatar-img {
          padding: 5px;
        }

        /* Efek Engsel Halus Sisi Kiri untuk Sampul di Mode Ponsel */
        #leaf1 .page-front::after {
          width: 22px;
          background: linear-gradient(to right,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.05) 5px,
            rgba(0, 0, 0, 0.20) 12px,
            rgba(255, 255, 255, 0.08) 13.5px,
            rgba(0, 0, 0, 0.04) 16px,
            transparent 22px
          );
        }

        #leaf4 .page-back::after {
          width: 22px;
          background: linear-gradient(to left,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.05) 5px,
            rgba(0, 0, 0, 0.20) 12px,
            rgba(255, 255, 255, 0.08) 13.5px,
            rgba(0, 0, 0, 0.04) 16px,
            transparent 22px
          );
        }

        #leaf1 .page-front::before,
        #leaf4 .page-back::before {
          display: none !important;
        }

        .btn-action {
          height: 44px;
          min-height: 44px;
        }

        .controls-toolbar {
          position: fixed;
          bottom: 10px;
          left: 50%;
          transform: translateX(-50%);
          width: calc(100vw - 20px);
          max-width: 440px;
          justify-content: space-between;
          padding: 5px 8px;
          gap: 4px;
        }

        .page-indicator {
          min-width: 90px;
          font-size: 11px;
        }

        .zoom-container {
          width: 100%;
          height: 100%;
          transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        .nav-btn,
        .btn-fullscreen,
        .btn-zoom,
        .btn-sound {
          height: 33px;
          padding: 0 8px;
          font-size: 11px;
        }

        @media (max-width: 480px) {
          #soundText,
          #zoomText,
          #fsText {
            display: none;
          }
          .btn-sound,
          .btn-zoom,
          .btn-fullscreen {
            padding: 0 10px;
          }
        }
      }