/* ============================================
   LOGAM MULIA TBK — style.css
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-pale: #FDF6E3;
  --gold-dark: #8A6A1A;
  --blue: #003087;
  --blue-2: #1A4FA0;
  --blue-light: #EBF0FB;
  --dark: #FFFFFF;
  --dark-2: #F0F4F8;
  --dark-3: #E2E8F0;
  --mid: #CBD5E0;
  --text: #1A202C;
  --text-muted: #4A5568;
  --text-dim: #718096;
  --green: #2ECC71;
  --red: #E74C3C;
  --white: #FFFFFF;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--blue);
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(0,48,135,0.18);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text span:first-child {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.nav-logo-text span:last-child {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Keranjang badge */
.cart-btn {
  position: relative;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 8px 12px;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.cart-btn:hover { background: rgba(255,255,255,0.1); }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.cart-count.visible { display: flex; }

.btn-outline {
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

.btn-gold {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-gold:hover { opacity: 0.9; }

/* User dropdown setelah login */
.user-dropdown {
  position: relative;
}
.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 6px 12px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.user-avatar-btn:hover { background: rgba(255,255,255,0.2); }
.user-avatar-circle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--dark);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  padding: 8px;
  min-width: 180px;
  display: none;
  z-index: 200;
}
.dropdown-menu.open { display: block; }
.dropdown-item {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}
.dropdown-item:hover { background: rgba(201,168,76,0.08); color: var(--gold); }
.dropdown-divider { height: 1px; background: rgba(0,0,0,0.07); margin: 6px 0; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 100px 2rem 60px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.hero-title .highlight { color: var(--gold); }

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.btn-gold-lg {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
}

.btn-outline-lg {
  padding: 14px 28px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-outline-lg:hover { background: rgba(201, 168, 76, 0.08); }

.hero-stats {
  display: flex;
  gap: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Right Panel */
.hero-panel {
  background: var(--dark-2);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.panel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.panel-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
}

.panel-live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.5s infinite;
}

.price-display { margin-bottom: 1.25rem; }

.price-main {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.price-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.price-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
  background: rgba(46, 204, 113, 0.12);
  color: var(--green);
}

.chart-placeholder {
  height: 100px;
  position: relative;
  margin-bottom: 1.25rem;
}

.chart-placeholder svg { width: 100%; height: 100%; }

.panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1rem;
}

.panel-item {
  background: var(--dark-3);
  border-radius: 10px;
  padding: 12px;
}

.panel-item-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.panel-item-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.btn-beli {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-beli:hover { opacity: 0.9; }

/* ===== TICKER ===== */
.ticker {
  background: var(--dark-2);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  padding: 10px 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  gap: 3rem;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.ticker-name { color: var(--text-muted); font-weight: 500; }
.ticker-price { color: var(--text); font-weight: 600; }
.ticker-up { color: var(--green); font-size: 12px; }
.ticker-down { color: var(--red); font-size: 12px; }

/* ===== SECTIONS ===== */
section { padding: 80px 2rem; }

.container { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ===== PRODUK ===== */
.produk-bg { background: var(--dark-2); }

.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.produk-card {
  background: var(--dark);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.produk-card:hover {
  border-color: rgba(201, 168, 76, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,48,135,0.12);
}

.produk-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(201,168,76,0.06), var(--dark));
}

/* Gambar produk */
.produk-img-wrap {
  position: relative;
  background: linear-gradient(135deg, #1c1a14, #252118);
  padding: 1.8rem 1rem 1rem;
  cursor: pointer;
  overflow: hidden;
}

.produk-img {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.produk-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201,168,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.produk-img-overlay span {
  background: rgba(201,168,76,0.9);
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
}

.produk-img-wrap:hover .produk-img-overlay { opacity: 1; }

/* Badge di atas gambar */
.produk-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  letter-spacing: 0.3px;
}

.badge-popular { background: rgba(201,168,76,0.9); color: #0F0D0A; }
.badge-new     { background: rgba(46,204,113,0.85); color: #0a1a0f; }
.badge-hemat   { background: rgba(52,152,219,0.85); color: #0a1020; }
.badge-value   { background: rgba(155,89,182,0.85); color: #1a0a20; }

/* Body card */
.produk-body {
  padding: 1.2rem 1.4rem 1.4rem;
}

.produk-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.produk-gram { font-size: 22px; font-weight: 800; color: var(--gold); margin-bottom: 2px; line-height: 1.2; }
.produk-kemurnian { font-size: 11px; color: var(--text-dim); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.produk-harga { font-size: 13px; color: var(--text-muted); margin-bottom: 1rem; }
.produk-harga strong { color: var(--text); font-weight: 700; font-size: 14px; }

.produk-actions { display: flex; gap: 8px; }

.produk-btn-detail {
  flex: 0 0 auto;
  padding: 9px 14px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.produk-btn-detail:hover { background: rgba(201,168,76,0.18); }

.produk-btn {
  flex: 1;
  padding: 9px 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: 8px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.produk-btn:hover { opacity: 0.88; }

/* ===== MODAL DETAIL PRODUK ===== */
.detail-modal-overlay {
  overflow-y: auto;
}

.detail-modal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  max-width: 780px;
  width: calc(100% - 2rem);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.detail-img-wrap {
  background: linear-gradient(160deg, #1c1a14 0%, #2a2518 60%, #1a1710 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  position: relative;
  min-height: 420px;
}

.detail-img-bg { width: 100%; max-width: 180px; }

.detail-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}

.detail-info {
  padding: 2rem 1.8rem;
  overflow-y: auto;
  max-height: 90vh;
  min-width: 0;
  overflow-x: hidden;
  background: #FFFFFF;
  color: #1A202C;
}

/* close button di detail */
.detail-info .modal-close { position: absolute; top: 14px; right: 16px; }

.detail-category {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.detail-nama {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  word-break: break-word;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 10px;
}

.detail-gram-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-gram {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}

.detail-kemurnian {
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  padding: 3px 9px;
}

.detail-harga {
  font-size: 1.6rem;
  font-weight: 800;
  word-break: break-all;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 3px;
}

.detail-harga-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}

.detail-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.4rem;
  border-left: 2px solid rgba(201,168,76,0.3);
  padding-left: 12px;
}

/* Spesifikasi grid */
.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 1.4rem;
}

.spec-item {
  background: var(--dark-3);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-label {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
}

.spec-val {
  font-size: 12.5px;
  color: var(--text);
  font-weight: 600;
}

.stok-terbatas { color: var(--red) !important; }

/* Fitur list */
.detail-fitur { margin-bottom: 1.4rem; }

.detail-fitur-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.fitur-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fitur-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.fitur-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Aksi detail */
.detail-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.btn-detail-cart {
  flex: 1;
  padding: 12px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-detail-cart:hover { background: rgba(201,168,76,0.2); }

.btn-detail-beli {
  flex: 1;
  padding: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: 10px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-detail-beli:hover { opacity: 0.88; }

.detail-guarantee {
  font-size: 11.5px;
  color: var(--text-dim);
  text-align: center;
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 8px;
  padding: 9px 12px;
}

/* Cart image thumbnail */
.cart-item-img {
  width: 52px;
  height: 36px;
  flex-shrink: 0;
}

/* Responsive detail modal */
@media (max-width: 700px) {
  .detail-modal-grid {
    grid-template-columns: 1fr;
  }
  .detail-img-wrap { min-height: 180px; max-height: 220px; padding: 1.5rem; }
  .detail-info { max-height: none; }
  .detail-specs { grid-template-columns: 1fr 1fr; }
}

/* ===== KEUNGGULAN ===== */
.keunggulan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.keunggulan-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.keunggulan-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.keunggulan-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.keunggulan-text h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.keunggulan-text p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.sertifikasi-box {
  background: var(--dark-2);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 20px;
  padding: 2rem;
}

.sertif-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sertif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.sertif-badge {
  background: var(--dark-3);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.sertif-badge .sertif-logo { font-size: 22px; margin-bottom: 5px; }
.sertif-badge p { font-size: 11px; color: var(--text-muted); font-weight: 500; }

.guarantee-strip {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

/* ===== CARA KERJA ===== */
.cara-bg { background: var(--dark-2); }

.cara-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.cara-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 13%;
  right: 13%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), rgba(201, 168, 76, 0.3), transparent);
  z-index: 0;
}

.cara-step { position: relative; z-index: 1; text-align: center; }

.cara-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  margin: 0 auto 1rem;
}

.cara-step h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.cara-step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== TABUNGAN / KALKULATOR ===== */
.tabungan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.kalkulator {
  background: var(--dark-2);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
}

.kalkulator h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 1.5rem; }

.kalc-field { margin-bottom: 1rem; }

.kalc-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kalc-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--dark);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.kalc-input:focus { outline: none; border-color: var(--gold); }

.kalc-result {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  padding: 1.2rem;
  margin: 1.2rem 0;
}

.kalc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.kalc-result-row:last-child { margin-bottom: 0; }
.kalc-result-label { font-size: 13px; color: var(--text-muted); }
.kalc-result-val { font-size: 14px; font-weight: 600; color: var(--text); }
.kalc-result-val.highlight { color: var(--gold); font-size: 18px; }

/* ===== TESTIMONI ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 3rem;
}

.testi-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.5rem;
}

.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 0.8rem; }
.testi-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }

.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}

.testi-name { font-size: 13px; font-weight: 600; color: var(--text); }
.testi-kota { font-size: 11px; color: var(--text-dim); }

/* ===== FAQ ===== */
.faq-bg { background: var(--dark-2); }

.faq-list {
  max-width: 700px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem 0;
}

.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-q::after {
  content: '−';
}

.faq-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 0.8rem;
  display: none;
}

.faq-item.open .faq-a { display: block; }

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.cta-inner { position: relative; z-index: 1; }
.cta-section .section-title { margin: 0 auto 1rem; max-width: 500px; }
.cta-section .section-desc { margin: 0 auto 2rem; }

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ===== NAV LOGO IMAGE ===== */
.nav-logo-img-wrap {
  background: rgba(255,255,255,0.94);
  border-radius: 8px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}
.nav-logo-img-wrap:hover { background: #fff; }
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* ===== FOOTER LOGO IMAGE ===== */
.footer-logo-wrap {
  background: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  padding: 6px 14px;
}
.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* ===== SLIDER ===== */
.promo-slider-wrap {
  padding: 40px 2rem 0;
  background: var(--dark);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.45);
  max-width: 1200px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slide {
  min-width: 100%;
  background: #fff;
}

/* Brand bar at top of each slide */
.slide-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  background: #fff;
  border-bottom: 1px solid #EEE5D8;
}

.slide-brand-left {
  display: flex;
  align-items: center;
  gap: 4px;
}
.slide-3bumn {
  font-size: 13px;
  font-weight: 900;
  color: #CC0000;
  letter-spacing: 1px;
  font-style: italic;
}
.slide-brand-sep {
  font-size: 10px;
  color: #aaa;
  margin-left: 3px;
  font-weight: 500;
}

.slide-brand-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.slide-logo-img {
  height: 26px;
  width: auto;
}
.slide-brand-pipe { color: #ccc; font-size: 18px; line-height: 1; }
.slide-antam-text {
  font-size: 15px;
  font-weight: 700;
  color: #1a6b3c;
  font-style: italic;
  letter-spacing: -0.3px;
}
.slide-antam-text sup { font-size: 8px; vertical-align: super; }

/* Two-panel layout */
.promo-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

.promo-panel-l {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #0F0E0A;
}

.promo-panel-r {
  position: relative;
  background: #0F0E0A;
  padding: 0;
  overflow: hidden;
}

/* ── Content-aware pan: portrait → scroll vertikal, landscape → scroll horizontal ── */
@keyframes pan-portrait  { to { transform: translateY(var(--pan-end, -18%)); } }
@keyframes pan-landscape { to { transform: translateX(var(--pan-end, -10%)); } }

/* Base: fills panel — applies to SVG fallbacks and unsized images */
.panel-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Portrait image: show full width, overflow hidden below, scroll top→bottom */
img.panel-screenshot.kb-portrait {
  height: auto;
  object-fit: unset;
  position: absolute;
  top: 0;
  left: 0;
  animation: pan-portrait var(--pan-dur, 12s) ease-in-out forwards;
}

/* Landscape image: show full height, overflow hidden to the right, scroll left→right */
img.panel-screenshot.kb-landscape {
  width: auto;
  min-width: 100%;
  object-fit: unset;
  position: absolute;
  top: 0;
  left: 0;
  animation: pan-landscape var(--pan-dur, 12s) ease-in-out forwards;
}

/* Left panel elements */
.promo-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(180,50,50,0.88);
  color: #fff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.promo-title-art {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: rgba(60,30,0,0.9);
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.promo-product-card {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.promo-product-card-svg { flex-shrink: 0; }
.promo-card-name { font-size: 13px; font-weight: 700; color: rgba(50,25,0,0.9); }
.promo-card-gram { font-size: 11px; color: rgba(80,50,20,0.7); margin-top: 2px; }

/* Stats row (slide 3 left) */
.promo-stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
}
.promo-stat-item { text-align: center; }
.promo-stat-val { font-size: 22px; font-weight: 800; }
.promo-stat-lbl { font-size: 11px; margin-top: 2px; }
.promo-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.2); }

/* Right panel elements */
.promo-r-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9A7A20;
}
.promo-r-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #1A0F00;
  line-height: 1.25;
}
.promo-r-desc {
  font-size: 13px;
  color: #6A5A40;
  line-height: 1.65;
}

.promo-r-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-r-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #F0E0C0;
  border-radius: 10px;
  padding: 8px 12px;
}
.promo-r-row-info { flex: 1; }
.promo-r-row-name { font-size: 12px; font-weight: 600; color: #2A1A00; }
.promo-r-row-gram { font-size: 10px; color: #8A6A20; margin-top: 1px; }

.promo-r-new-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(201,168,76,0.18);
  color: #8A6A10;
  white-space: nowrap;
  flex-shrink: 0;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #C9A84C, #E8C96A);
  color: #1A0F00;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.2s;
}
.promo-cta:hover { opacity: 0.88; }

/* Mini chart panel */
.promo-mini-chart {
  background: #fff;
  border: 1px solid #F0E8D8;
  border-radius: 10px;
  padding: 10px 12px;
}

/* Slider controls — dark on light bg */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(180,140,60,0.35);
  border-radius: 50%;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #8A6A20;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.slider-btn:hover {
  background: #fff;
  border-color: #C9A84C;
  color: #6A4A10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }

.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(180,140,60,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background: #C9A84C;
}

/* ===== ICON UTILITY ===== */
.icon-wrap {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.keunggulan-icon { color: var(--gold); }
.keunggulan-icon svg { display: block; }

/* price up/down colors */
.price-up   { background: rgba(46,204,113,0.12) !important; color: var(--green) !important; }
.price-down { background: rgba(231,76,60,0.12) !important; color: var(--red) !important; }

/* ===== FOOTER ===== */
footer {
  background: var(--blue);
  border-top: none;
  padding: 60px 2rem 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-brand {
  flex: 0 0 340px;
  max-width: 340px;
}

.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7; margin: 1rem 0; }
.footer-col h5 { font-size: 13px; font-weight: 600; color: #FFFFFF; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }

/* Regulatory logos strip */
.footer-reg {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-reg-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.reg-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 12px;
  padding: 10px 16px;
  transition: border-color 0.2s;
}
.reg-logo-item:hover { border-color: rgba(201,168,76,0.3); }

.reg-logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0.9) saturate(0.8);
}

.reg-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.reg-logo-name { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.5px; }
.reg-logo-sub  { font-size: 10px; color: var(--text-dim); }

.footer-reg-notice {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 280px;
  text-align: right;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 12px; color: var(--text-dim); }

/* ============================================
   MODAL — LOGIN / REGISTER / KERANJANG
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  overflow: hidden;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s;
}


.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--gold); }

.modal-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.modal-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.modal-logo-text { font-size: 15px; font-weight: 700; color: var(--gold); }
.modal-logo-sub { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.modal-tabs {
  display: flex;
  gap: 4px;
  background: var(--dark-3);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 1.5rem;
}

.modal-tab {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.2s;
}

.modal-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
}

.modal-form { display: flex; flex-direction: column; gap: 12px; }

.form-group { display: flex; flex-direction: column; gap: 5px; }

.form-label { font-size: 12px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.form-input {
  padding: 10px 14px;
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.form-input:focus { outline: none; border-color: var(--gold); }

.form-input::placeholder { color: var(--text-dim); }

.btn-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 4px;
}

.btn-submit:hover { opacity: 0.9; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dim);
}

.form-divider::before, .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.08);
}

.form-note { font-size: 12px; color: var(--text-dim); text-align: center; line-height: 1.5; }
.form-note a { color: var(--gold); text-decoration: none; cursor: pointer; }

/* ============================================
   MODAL KERANJANG
   ============================================ */
.cart-modal-box {
  max-width: 500px;
}

.cart-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-empty-icon { font-size: 48px; margin-bottom: 1rem; }
.cart-empty p { font-size: 14px; }

.cart-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.25rem; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-3);
  border-radius: 12px;
  padding: 12px;
}

.cart-item-icon { font-size: 24px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--text); }
.cart-item-gram { font-size: 12px; color: var(--text-muted); }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--gold); }

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { background: rgba(201,168,76,0.2); }

.qty-val { font-size: 14px; font-weight: 600; color: var(--text); min-width: 20px; text-align: center; }

.cart-remove {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  transition: color 0.2s;
}
.cart-remove:hover { color: var(--red); }

.cart-summary {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cart-total-label { font-size: 14px; font-weight: 700; color: var(--text); }
.cart-total-val { font-size: 18px; font-weight: 800; color: var(--gold); }

.btn-checkout {
  width: 100%;
  margin-top: 1rem;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-checkout:hover { opacity: 0.9; }

/* Toast notifikasi */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-icon { font-size: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 1.5rem; }
  .keunggulan-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cara-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cara-steps::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; gap: 2rem; }
  .footer-brand { flex: none; max-width: 100%; }
  .footer-reg { flex-direction: column; align-items: flex-start; }
  .footer-reg-notice { margin-left: 0; text-align: left; }
  .nav-links { display: none; }
  .section-title { font-size: 1.8rem; }
  .produk-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .promo-slider-wrap { padding: 20px 0 0; }
  .hero-slider { border-radius: 0; }
  .promo-panels { grid-template-columns: 1fr; }
  .promo-panel-l { min-height: 240px; }
  .promo-panel-r { min-height: 240px; }
  .slider-btn { width: 34px; height: 34px; }
  .slide-brand-bar { padding: 8px 14px; }
}

/* =====================================================
   RESPONSIVE — MOBILE FULL (max 480px)
   ===================================================== */
@media (max-width: 480px) {
  /* Navbar */
  nav { padding: 0 1rem; height: 56px; }
  .nav-actions { gap: 6px; }
  .btn-outline { display: none; }
  .btn-gold { padding: 7px 14px; font-size: 12px; }

  /* Hero */
  .hero { padding: 80px 1rem 48px; }
  .hero-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero-desc { font-size: 13px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .btn-gold-lg, .btn-outline-lg { width: 100%; text-align: center; padding: 13px 20px; font-size: 13px; }
  .hero-stats { gap: 1.2rem; flex-wrap: wrap; }
  .hero-stat-value { font-size: 20px; }
  .hero-panel { padding: 1.2rem; border-radius: 14px; }
  .price-display { gap: 6px; }
  .price-main { font-size: 1.4rem; }
  .panel-row { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Ticker */
  .ticker { font-size: 11px; }

  /* Section umum */
  section { padding: 48px 1rem; }
  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: 13px; }

  /* Slider */
  .promo-slider-wrap { padding: 12px 0 0; }
  .slide-brand-bar { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 12px; }
  .promo-panel-l, .promo-panel-r { min-height: 180px; }

  /* Produk grid */
  .produk-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 1.5rem; }
  .produk-card { border-radius: 14px; }
  .produk-img-wrap { height: 160px; }
  .produk-info { padding: 1rem; }

  /* Keunggulan */
  .keunggulan-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.5rem; }
  .keunggulan-item { gap: 12px; }
  .sertif-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Cara kerja */
  .cara-steps { grid-template-columns: 1fr; gap: 1rem; }
  .cara-step { padding: 1.2rem; }
  .cara-num { width: 40px; height: 40px; font-size: 16px; }

  /* Tabungan / Kalkulator */
  .tabungan-grid { grid-template-columns: 1fr; gap: 2rem; }
  .kalkulator { padding: 1.2rem; max-width: 100%; }
  .kalc-input { font-size: 14px; }

  /* Testimoni */
  .testi-grid { grid-template-columns: 1fr; gap: 14px; }
  .testi-card { padding: 1.2rem; }

  /* FAQ */
  .faq-item { padding: 1rem; }
  .faq-q { font-size: 13px; }
  .faq-a { font-size: 12px; }

  /* CTA */
  .cta-section { padding: 48px 1rem; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 10px; }

  /* Footer */
  footer { padding: 2rem 1rem; }
  .footer-grid { flex-direction: column; gap: 1.5rem; }
  .footer-reg-logos { flex-direction: column; gap: 14px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Modal auth */
  .modal-box { padding: 1.5rem 1rem; border-radius: 14px; margin: 1rem; }
  .modal-tabs { gap: 0; }
  .modal-tab { font-size: 13px; padding: 8px 12px; }

  /* Modal cart */
  .cart-modal-box { padding: 1.2rem 1rem; }
  .cart-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cart-item-actions { width: 100%; justify-content: space-between; }

  /* Modal detail produk */
  #detailModal { padding: 1rem 0.5rem; }
  #detailBox { grid-template-columns: 1fr !important; }

  /* Detail panel kiri (gambar) */
  #detailBox > div:first-child { min-height: 180px !important; max-height: 200px !important; }

  /* Social proof notif */
  #sp-notif { width: calc(100vw - 32px); left: 16px; bottom: 16px; }

  /* WA float btn */
  #wa-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  #wa-float svg { width: 24px; height: 24px; }
}

/* =====================================================
   RESPONSIVE — TABLET (481px – 768px)
   ===================================================== */
@media (min-width: 481px) and (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }

  .hero { padding: 80px 1.25rem 48px; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-title { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .hero-actions { flex-wrap: wrap; }

  section { padding: 56px 1.25rem; }

  .produk-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .tabungan-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .cara-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .testi-grid { grid-template-columns: 1fr; }

  #detailBox { grid-template-columns: 1fr !important; }
  #detailBox > div:first-child { min-height: 200px !important; max-height: 220px !important; }

  #sp-notif { width: 280px; }
}