/* Warung Dwi - tema ungu/indigo, rounded, soft shadow */

:root {
  --wr-primary: #5b21b6;
  --wr-primary-dark: #4c1d95;
  --wr-indigo: #6366f1;
  --wr-bg: #f5f3ff;
}

html { margin: 0; padding: 0; overflow-x: hidden; }
body { margin: 0; padding: 0; padding-top: 56px; background-color: #fff; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
/* Anchor scroll offset for fixed navbar (desktop & mobile) */
[id="hero"], [id="testimoni"], [id="faq"], [id="produk-terpopuler"], [id="mengapa-kami"], [id="cara-order"] { scroll-margin-top: 60px; }
.min-vh-75 { min-height: 75vh; }

/* Hero row: tinggi wajar desktop, tidak memaksa full viewport */
.wr-hero-row { min-height: 52vh; }
@media (max-width: 991.98px) {
  .wr-hero-row { min-height: auto !important; }
}

/* Section background gradient (blue-50/80 → white/70 → purple-100/80) - terapkan ke semua section */
.wr-section-gradient {
  background: linear-gradient(to bottom right, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.9), rgba(243, 232, 255, 0.95));
}

/* Navbar - background putih */
.wr-nav { background: #fff !important; top: 0 !important; margin: 0 !important; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.wr-nav .navbar-brand { color: inherit !important; }
.wr-nav .navbar-brand.min-w-0 { min-width: 0; }
.wr-nav .navbar-brand .min-w-0 { min-width: 0; overflow: hidden; }
.wr-nav .wr-nav-title { font-size: 1rem; color: #000 !important; }
.wr-nav .wr-nav-tagline { font-size: 0.75rem; color: #2563eb !important; }
.wr-nav .wr-nav-logo { border-radius: 0.5rem; }
@media (min-width: 992px) {
  .wr-nav .wr-nav-title { font-size: 1.25rem; }
  .wr-nav .wr-nav-logo { border-radius: 0.75rem; }
}
.wr-nav .nav-link { color: #374151 !important; }
.wr-nav .nav-link:hover { color: var(--wr-primary) !important; }
.wr-nav .nav-link:hover .wr-nav-icon { color: var(--wr-primary) !important; }
.wr-nav .wr-nav-icon { color: #2563eb; font-size: 1.1em; flex-shrink: 0; }
.wr-nav .navbar-toggler { color: #374151; border-color: #e5e7eb; }
.wr-nav .navbar-toggler-icon { filter: invert(1); opacity: 0.7; }
@media (max-width: 991.98px) {
  .wr-nav .navbar-collapse { background: #fff; }
}

/* Hero - gradient blue-50 → white → purple-100 (to bottom right) */
.wr-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, #eff6ff 0%, #ffffff 50%, #f3e8ff 100%);
  color: #1f2937;
}
.wr-hero-headline { color: #111827; font-size: clamp(1.5rem, 4vw, 2.25rem); }
.wr-hero-headline .text-primary { color: var(--wr-primary) !important; }
@media (max-width: 575.98px) {
  .wr-hero-headline { font-size: 1.35rem; }
}
.wr-hero .wr-hero-desc {
  color: #334155;
  font-weight: 600;
  line-height: 1.6;
  font-size: 1.05rem;
}
@media (max-width: 575.98px) {
  .wr-hero .wr-hero-desc { font-size: 0.95rem; }
}
/* Hero logo + animasi gerak */
.wr-hero-logo-wrap { max-width: 320px; margin: 0 auto; z-index: 1; }
.wr-hero-logo { max-width: 100%; height: auto; object-fit: contain; display: block; }
@media (max-width: 575.98px) {
  .wr-hero-logo-wrap { max-width: 200px; }
  .wr-hero-logo { max-width: 55vw; }
}
@keyframes wr-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.wr-hero-logo-float { animation: wr-hero-float 3s ease-in-out infinite; }
.wr-hero-badge-premium {
  background: linear-gradient(135deg, #eab308 0%, #f59e0b 100%);
  bottom: 1rem;
  right: 0.5rem;
  font-size: 0.7rem;
}
.wr-hero-badge { z-index: 2; }

/* Hero visual: area logo + elemen mengambang */
.wr-hero-visual { width: 100%; max-width: 380px; min-height: 260px; }
@media (max-width: 991.98px) {
  .wr-hero-visual { min-height: 220px; max-width: 280px; }
}
@media (max-width: 575.98px) {
  .wr-hero-visual { min-height: 180px; max-width: 220px; }
}
.wr-hero-splash {
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  z-index: 2;
}
.wr-hero-splash .wr-splash-inner { line-height: 1; }
.wr-splash-netflix { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.wr-splash-yt { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.wr-splash-gpt { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.wr-splash-spotify { background: linear-gradient(135deg, #22c55e, #16a34a); }
.wr-splash-disney { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.wr-splash-capcut { background: linear-gradient(135deg, #ec4899, #db2777); }
.wr-hero-badge-float { z-index: 2; }
.wr-hero-star, .wr-hero-dot { z-index: 0; pointer-events: none; }

/* Animasi mengambang (bergerak) untuk logo & badge */
@keyframes wr-hero-drift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(4px, -8px); }
  50% { transform: translate(-3px, -4px); }
  75% { transform: translate(5px, -6px); }
}
@keyframes wr-hero-drift-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-5px, -10px); }
}
@keyframes wr-hero-bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.wr-float-1 { animation: wr-hero-drift 4s ease-in-out infinite; }
.wr-float-2 { animation: wr-hero-drift 3.5s ease-in-out infinite 0.3s; }
.wr-float-3 { animation: wr-hero-drift 4.2s ease-in-out infinite 0.6s; }
.wr-float-4 { animation: wr-hero-drift 3.8s ease-in-out infinite 0.2s; }
.wr-float-5 { animation: wr-hero-drift 4.5s ease-in-out infinite 0.5s; }
.wr-float-6 { animation: wr-hero-drift 3.6s ease-in-out infinite 0.8s; }
.wr-float-b1 { animation: wr-hero-bounce-soft 2.8s ease-in-out infinite 0.1s; }
.wr-float-b2 { animation: wr-hero-bounce-soft 3s ease-in-out infinite 0.4s; }
.wr-float-b3 { animation: wr-hero-bounce-soft 2.6s ease-in-out infinite 0.2s; }
.wr-float-b4 { animation: wr-hero-bounce-soft 3.2s ease-in-out infinite 0.6s; }
.wr-float-b5 { animation: wr-hero-bounce-soft 2.9s ease-in-out infinite 0.3s; }
.wr-float-s1 { animation: wr-hero-drift-slow 5s ease-in-out infinite; }
.wr-float-s2 { animation: wr-hero-drift-slow 4.5s ease-in-out infinite 0.7s; }
.wr-float-s3 { animation: wr-hero-drift-slow 5.5s ease-in-out infinite 0.4s; }
.wr-float-d1 { animation: wr-hero-bounce-soft 3.5s ease-in-out infinite 0.5s; }
.wr-float-d2 { animation: wr-hero-bounce-soft 3.3s ease-in-out infinite 0.2s; }

/* Badges di hero (background putih) */
.wr-badge-feature {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: var(--wr-bg);
  border: 1px solid rgba(91, 33, 182, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--wr-primary-dark);
}
.wr-badge-premium { background: linear-gradient(135deg, #8b5cf6, #6366f1); color: #fff; }
.wr-badge-exclusive { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.wr-badge-invite,
.wr-badge-head,
.wr-badge-pro { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff; }

/* Warranty page - sesuai referensi Warung Dwi */
.wr-warranty-page {
  background: linear-gradient(to bottom right, #eff6ff 0%, #fff 50%, #f5f3ff 100%);
}
.wr-warranty-icon-wrap {
  width: 2rem; height: 2rem;
  background: #dbeafe;
  border: none;
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
}
.wr-warranty-shield-icon { color: #2563eb; font-size: 1.125rem; }
.wr-warranty-desc { color: #4b5563; font-size: 0.875rem; }
.wr-gradient-text { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
/* Kartu glass seperti referensi */
.wr-warranty-glass-card {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(224, 231, 255, 0.8);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.wr-warranty-glass-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}
.wr-warranty-card-title { font-size: 0.875rem; font-weight: 700; color: #1f2937; }
.wr-warranty-card-sub { font-size: 0.75rem; color: #6b7280; }
.wr-warranty-modal-icon { border: 2px solid rgba(255, 255, 255, 0.9); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

/* Cek Invoice page - premium style */
.wr-cek-invoice-page {
  background: linear-gradient(to bottom right, #eff6ff 0%, #fff 50%, #f5f3ff 100%);
}
.wr-invoice-card {
  background: linear-gradient(145deg, #fff 0%, #f8faff 100%);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(80, 120, 255, 0.1);
  border: 1px solid rgba(224, 231, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.wr-invoice-result-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--wr-primary), var(--wr-indigo));
}
.wr-premium-input {
  border: 2px solid rgba(91, 33, 182, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wr-premium-input:focus {
  border-color: var(--wr-primary);
  box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.12);
}
.wr-btn-cek-invoice .btn-loading,
.wr-btn-cek-invoice .btn-success,
.wr-btn-cek-invoice .btn-failed {
  display: flex;
}
.wr-status-paid {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Cek Transaksi page */
.wr-cek-transaksi-page {
  background: linear-gradient(to bottom right, #eff6ff 0%, #fff 50%, #f5f3ff 100%);
}
.wr-transaksi-result-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}
.wr-transaksi-empty-header {
  background: linear-gradient(135deg, #eab308 0%, #f97316 100%);
}
.wr-transaksi-item {
  background: #f9fafb;
}
.wr-transaksi-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(91, 33, 182, 0.1);
}
.wr-transaksi-empty-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(234, 179, 8, 0.2);
}
.wr-btn-cek-invoice .btn-loading,
#cekTransaksiBtn .btn-loading {
  display: flex;
}

/* Top Produk / Leaderboard page */
.wr-top-produk-page {
  background: linear-gradient(to bottom right, #f1f5f9 0%, #fff 50%, #f1f5f9 100%);
}
.wr-live-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.wr-ping-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: wr-ping 1.5s ease-in-out infinite;
}
@keyframes wr-ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
.wr-leaderboard-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.wr-leaderboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.wr-rank-badge { font-size: 0.75rem; }
.wr-rank-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1f2937; }
.wr-rank-2 { background: linear-gradient(135deg, #e5e7eb, #d1d5db); color: #374151; }
.wr-rank-3 { background: linear-gradient(135deg, #fcd34d, #f59e0b); color: #78350f; }
.wr-rank-4,
.wr-rank-5,
.wr-rank-6,
.wr-rank-7,
.wr-rank-8,
.wr-rank-9,
.wr-rank-10,
.wr-rank-11,
.wr-rank-12 { background: linear-gradient(135deg, #475569, #334155); color: #f1f5f9; }
.wr-progress-bar {
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
}

/* Product card – nuansa warna (platform hijau, label/harga biru, teks abu-abu) */
.wr-product-card {
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #f3f4f6 !important;
}
.wr-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.08) !important;
}
.wr-product-platform {
  color: #059669;
  font-size: 0.8rem;
  font-weight: 600;
}
.wr-product-duration {
  color: #059669;
  font-size: 0.8rem;
  font-weight: 600;
}
.wr-product-duration .bi-clock { color: #10b981; }
.wr-product-name { color: #111827; }
.wr-product-label {
  color: #1d4ed8;
  font-size: 0.8rem;
}
.wr-product-price {
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-size: 0.95rem;
}
.wr-product-desc { color: #6b7280; }
.wr-product-footer { color: #9ca3af; }
.wr-product-card-placeholder { color: #9ca3af; }
.wr-btn-detail-nuansa {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff !important;
  border: none;
  font-weight: 600;
}
.wr-btn-detail-nuansa:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.wr-btn-buy-nuansa {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  border: none !important;
}
.wr-btn-buy-nuansa:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.wr-price { font-weight: 700; color: var(--wr-primary); }

/* Feature cards - gradient border (blue → purple → pink) + sparkle */
.wr-feature-card {
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
  border-radius: 1rem;
  overflow: visible;
  border: 0 !important; /* pastikan border-0 tidak bentrok */
}
.wr-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.wr-feature-card > * { position: relative; z-index: 1; }
.wr-feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.1); }
.wr-feature-icon-wrap { width: 56px; height: 56px; }
.wr-feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--wr-primary), var(--wr-indigo));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Animasi bintang - judul section */
/* Judul section: gradient modern + hover halus */
.wr-section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 35%, #5b21b6 70%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  transition: filter 0.35s ease, text-shadow 0.35s ease;
}
.wr-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.wr-whyus-title-wrap:hover .wr-section-title {
  filter: brightness(1.08);
}
.wr-whyus-title-wrap:hover .wr-section-title::after {
  transform: scaleX(1);
}
/* Fallback: jika browser tidak support background-clip:text, tetap readable */
@supports not (background-clip: text) {
  .wr-section-title {
    color: var(--wr-primary-dark);
    background: none;
    -webkit-text-fill-color: inherit;
  }
}

.wr-whyus-title-wrap .wr-sparkle {
  position: absolute;
  font-size: 1rem;
  animation: wr-sparkle 2s ease-in-out infinite;
}
.wr-whyus-title-wrap .wr-sparkle-1 { top: -8px; right: -14px; animation-delay: 0s; color: #facc15; }
.wr-whyus-title-wrap .wr-sparkle-2 { top: -8px; left: -14px; animation-delay: 0.4s; color: #60a5fa; }
.wr-whyus-title-wrap .wr-sparkle-3 { bottom: -8px; right: -6px; animation-delay: 0.8s; color: #c084fc; }
@keyframes wr-sparkle {
  0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.3) rotate(10deg); }
}

/* Animasi bintang - di sekitar ikon kartu (warna kuning, biru, ungu seperti referensi) */
.wr-card-sparkle {
  position: absolute;
  font-size: 0.65rem;
  z-index: 0;
  animation: wr-card-sparkle 2s ease-in-out infinite;
}
.wr-feature-icon-wrap .wr-card-sparkle-1 { top: -4px; right: -4px; animation-delay: 0s; color: #facc15; }
.wr-feature-icon-wrap .wr-card-sparkle-2 { bottom: -4px; left: -4px; animation-delay: 0.5s; color: #60a5fa; }
.wr-feature-icon-wrap .wr-card-sparkle-3 { top: 50%; right: -6px; margin-top: -0.35rem; animation-delay: 1s; color: #c084fc; }
@keyframes wr-card-sparkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
.wr-feature-icon-wrap .wr-card-sparkle-3 { animation: wr-card-sparkle 2s ease-in-out infinite; animation-delay: 1s; }

/* Steps (Cara Order) - border gradient sama seperti Mengapa Memilih Kami */
.wr-step-card {
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
  border-radius: 1rem;
  overflow: visible;
  border: 0 !important;
}
.wr-step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.wr-step-card > * { position: relative; z-index: 1; }
.wr-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.1);
}
.wr-step-icon-wrap {
  width: 80px;
  height: 80px;
  animation: wr-hero-float 4s ease-in-out infinite;
}
.wr-step-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.wr-step-icon-bg-1 {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
}
.wr-step-icon-bg-2 {
  background: linear-gradient(135deg, #22c55e 0%, #3b82f6 50%, #8b5cf6 100%);
}
.wr-step-icon-bg-3 {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #3b82f6 100%);
}
.wr-step-icon-inner {
  position: absolute;
  width: 64px;
  height: 64px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.wr-step-icon-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(12px);
  z-index: 0;
}
.wr-step-icon-bg { z-index: 1; }

/* Testimoni card - border gradient sama seperti Mengapa Memilih Kami */
.wr-testimoni-card {
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
  border-radius: 1rem;
  overflow: visible;
  border: 0 !important;
}
.wr-testimoni-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.wr-testimoni-card > * { position: relative; z-index: 1; }
.wr-testimoni-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.1); }
.wr-testimoni-card-premium { display: flex; flex-direction: column; }
.wr-testimoni-avatar { width: 3.5rem; height: 3.5rem; font-size: 1.25rem; }

#testimoniCarousel { position: relative; }
#testimoniCarousel .wr-carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(91, 33, 182, 0.9);
  border: 0;
  opacity: 0.9;
  top: 50%;
  transform: translateY(-50%);
}
#testimoniCarousel .wr-carousel-btn:hover { opacity: 1; background: rgba(91, 33, 182, 1); }
#testimoniCarousel .carousel-control-prev { left: -12px; }
#testimoniCarousel .carousel-control-next { right: -12px; }
@media (max-width: 767.98px) {
  #testimoniCarousel .carousel-control-prev { left: 4px; }
  #testimoniCarousel .carousel-control-next { right: 4px; }
}

/* Leaderboard */
.wr-leaderboard-card { transition: transform 0.2s; }
.wr-leaderboard-card:hover { transform: translateY(-2px); }

.wr-leaderboard-label { color: var(--wr-indigo); }
.wr-icon-indigo { color: var(--wr-indigo); }
.wr-icon-purple { color: var(--wr-primary); }

/* Leaderboard premium - border gradient sama seperti Mengapa Memilih Kami */
.wr-leaderboard-card-premium {
  position: relative;
  border-radius: 1rem;
  overflow: visible !important;
  border: 0 !important;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wr-leaderboard-card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.wr-leaderboard-card-premium > * { position: relative; z-index: 1; }
.wr-leaderboard-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.1);
}
.wr-leaderboard-rank {
  font-size: 0.75rem;
  z-index: 1;
}
.wr-leaderboard-rank.wr-rank-1 {
  background: linear-gradient(to right, #fbbf24, #f97316);
  color: #1c1917;
}
.wr-leaderboard-rank.wr-rank-2 {
  background: linear-gradient(to right, #e2e8f0, #cbd5e1);
  color: #1e293b;
}
.wr-leaderboard-rank.wr-rank-3 {
  background: linear-gradient(to right, #fde68a, #fcd34d);
  color: #78350f;
}
.wr-leaderboard-rank.wr-rank-default {
  background: linear-gradient(to right, #475569, #334155);
  color: #f1f5f9;
}
.wr-leaderboard-avatar {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--wr-indigo), var(--wr-primary));
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.wr-leaderboard-progress-bar {
  background: linear-gradient(to right, #6366f1, #8b5cf6, #ec4899) !important;
}
.wr-leaderboard-live {
  background: linear-gradient(to right, rgba(16, 185, 129, 0.12), rgba(20, 184, 166, 0.08));
  border-color: rgba(16, 185, 129, 0.35) !important;
}
.wr-live-dot { width: 0.75rem; height: 0.75rem; display: inline-block; }
.wr-live-dot-inner { width: 0.75rem; height: 0.75rem; display: block; }
.wr-live-ping {
  width: 100%;
  height: 100%;
  background: rgba(16, 185, 129, 0.5);
  animation: wr-live-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes wr-live-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.wr-rank { font-weight: 700; font-size: 1rem; }
.wr-rank.gold { color: #f59e0b; }
.wr-rank.silver { color: #6b7280; }
.wr-rank.bronze { color: #b45309; }

/* Tabs */
.wr-product-tabs .nav-link { border-radius: 0.5rem 0.5rem 0 0; color: #6b7280; }
.wr-product-tabs .nav-link.active { background: var(--wr-bg); color: var(--wr-primary); font-weight: 600; }

/* Modal */
.wr-modal-content { border: none; }
.wr-qris-placeholder { border: 2px dashed #dee2e6; }

/* Rating bintang Tulis Ulasan – area klik jelas, klik menempel pada bintang */
#testimoniRatingWrap { cursor: default; }
.testimoni-rating-btn {
  cursor: pointer;
  min-width: 2.75rem;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.testimoni-rating-btn:hover { opacity: 0.9; }
.testimoni-rating-btn:focus-visible { outline: 2px solid var(--wr-primary, #5b21b6); outline-offset: 2px; }

/* FAQ section – referensi premium */
.wr-faq-section {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(243, 232, 255, 0.8) 100%);
}
.wr-faq-subtitle { color: #1d4ed8; }
.wr-faq-accordion .accordion-item { background: transparent; }
.wr-faq-card {
  position: relative;
  background: #fff;
  overflow: visible;
  border: 0 !important;
  box-shadow: 0 4px 20px rgba(91, 33, 182, 0.06);
  transition: box-shadow 0.2s;
}
.wr-faq-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.wr-faq-card .accordion-header,
.wr-faq-card .accordion-collapse { position: relative; z-index: 1; }
.wr-faq-card:hover {
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.12), 0 0 0 1px rgba(139, 92, 246, 0.1);
}
.wr-faq-btn {
  background: transparent !important;
  color: #1e3a8a !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  padding: 1rem 1.25rem !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: left !important;
  gap: 0.5rem;
}
.wr-faq-btn:focus { outline: none; box-shadow: none !important; }
.wr-faq-btn::after { display: none !important; }
.wr-faq-icon { color: #60a5fa; }
.wr-faq-chevron {
  color: #60a5fa;
  transition: transform 0.25s ease;
}
.wr-faq-btn:not(.collapsed) .wr-faq-chevron { transform: rotate(180deg); }
.wr-faq-body {
  color: #374151;
  padding-top: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 1.25rem;
  line-height: 1.6;
}
.wr-faq-body a { color: var(--wr-primary); font-weight: 500; }

/* Footer – referensi bg-gray-900, 4 kolom, social + platform + support */
.wr-footer {
  background: #111827;
  color: #fff;
  width: 100%;
  min-width: 100%;
}
.wr-footer-logo { flex-shrink: 0; }
.wr-footer-desc { color: #fff; font-size: 0.9375rem; line-height: 1.6; }
.wr-footer-social { color: #fff; transition: opacity 0.2s; }
.wr-footer-social:hover { color: #fff; opacity: 0.85; }
.wr-footer-links a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.wr-footer-links a:hover { color: #fff; opacity: 0.9; }
.wr-footer-bottom { border-color: rgba(255,255,255,0.15) !important; }
.wr-footer-copy { color: #fff; }
.wr-footer-legal { color: #fff; transition: opacity 0.2s; }
.wr-footer-legal:hover { color: #fff; opacity: 0.9; }

/* Buttons */
.btn-primary { background: linear-gradient(135deg, var(--wr-primary), var(--wr-indigo)); border: none; }
.btn-primary:hover { filter: brightness(1.1); }

/* Toast "Pesanan Baru" - popup rapi dengan aksen gradient */
.toast-container {
  z-index: 1060;
  padding: 1rem;
}
.wr-toast-order {
  background: #fff;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(59, 130, 246, 0.08);
  overflow: hidden;
  max-width: 340px;
}
.wr-toast-order .wr-toast-order-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 1rem 2.25rem 1rem 0;
}
.wr-toast-order .wr-toast-order-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  border-radius: 4px 0 0 4px;
}
.wr-toast-order .wr-toast-order-body {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex: 1;
  min-width: 0;
  padding-left: 0.5rem;
}
.wr-toast-order .wr-toast-order-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.wr-toast-order .wr-toast-order-icon .wr-toast-icon-text {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.wr-toast-order .wr-toast-order-icon.wr-toast-icon-netflix {
  background: linear-gradient(135deg, #b0060f, #e50914);
}
.wr-toast-order .wr-toast-order-content {
  flex: 1;
  min-width: 0;
}
.wr-toast-order .wr-toast-order-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.wr-toast-order .wr-toast-order-badge .bi-lightning-charge-fill {
  color: #eab308;
}
.wr-toast-order .wr-toast-order-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.15rem 0;
  line-height: 1.3;
  word-break: break-word;
}
.wr-toast-order .wr-toast-order-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
}
.wr-toast-order .wr-toast-order-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  opacity: 0.45;
  padding: 0.25rem;
  background: transparent;
  border: none;
}
.wr-toast-order .wr-toast-order-close:hover {
  opacity: 0.8;
}

/* Mobile */
@media (max-width: 991.98px) {
  .wr-hero .min-vh-75 { min-height: auto !important; padding: 2rem 0; }
  .wr-hero .wr-hero-row { padding: 0.5rem 0 1rem; }
  body { padding-top: 56px; }
}
@media (max-width: 575.98px) {
  .wr-nav .wr-nav-tagline { display: none; }
  .container { padding-left: 0.75rem; padding-right: 0.75rem; }
  .wr-hero { padding-top: 1rem; padding-bottom: 1.5rem; }
  .wr-hero .container { padding-top: 0.5rem; padding-bottom: 1rem; }
  .wr-hero .wr-badge-feature { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
  .wr-hero .btn-lg { padding: 0.5rem 1rem; font-size: 0.95rem; }
}
/* Touch: minimum tap target ~44px */
@media (pointer: coarse) {
  .btn, .nav-link { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-link { min-width: auto; }
}
