/* iCare Smartphone Center — Design System */

/* ======================== DESIGN TOKENS ======================== */
:root {
  --bg-primary:   #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-tertiary:  #f0f0f2;
  --text-primary:   #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted:     #aeaeb2;
  --border:         #d2d2d7;
  --border-light:   #e5e5ea;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.1),  0 4px 16px rgba(0,0,0,.06);
}

/* ======================== NAVBAR SCROLL STATE ======================== */
nav { transition: background .3s ease, box-shadow .3s ease; }
nav.nav-scrolled {
  background: rgba(15,15,15,.96) !important;
  border-bottom-color: rgba(255,255,255,.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
nav.nav-scrolled .nav-page-link {
  color: rgba(255,255,255,.65) !important;
}
nav.nav-scrolled .nav-page-link:hover {
  color: #fff !important;
}
nav.nav-scrolled a[href="admin/login.php"] {
  color: rgba(255,255,255,.6) !important;
  border-color: rgba(255,255,255,.18) !important;
}
nav.nav-scrolled a[href="admin/login.php"]:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,.4) !important;
}

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ======================== GLOBAL ======================== */
html, body { overflow-x: hidden; max-width: 100%; }

/* Accordion */
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-body.open { max-height: 9999px; }
.chevron { transition: transform 0.3s ease; }
.chevron.open { transform: rotate(180deg); }

/* Carousel */
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; will-change: transform; width: 100%; height: 100%; }
.carousel-slide { min-width: 100%; max-width: 100%; flex-shrink: 0; position: relative; overflow: hidden; height: 100%; }

/* WA Float */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.55); color: #fff; }

/* ======================== TABLE / FILTER UTILITIES ======================== */
.row-hidden { display: none !important; }
.no-results-row { display: none; }
.no-results-row.show { display: table-row; }

/* Dual range slider */
.dual-range-wrap { position: relative; height: 22px; margin: 4px 0; }
.dual-range-track {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 3px; background: var(--border-light); border-radius: 99px;
  transform: translateY(-50%); pointer-events: none;
}
.dual-range-fill { position: absolute; top: 0; height: 100%; background: var(--text-primary); border-radius: 99px; }
.dual-range-wrap input[type=range] {
  position: absolute; width: 100%; height: 100%; margin: 0;
  background: transparent; pointer-events: none;
  -webkit-appearance: none; appearance: none;
}
.dual-range-wrap input[type=range]::-webkit-slider-thumb {
  pointer-events: all; -webkit-appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text-primary); cursor: pointer;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--border);
}
.dual-range-wrap input[type=range]::-moz-range-thumb {
  pointer-events: all; width: 16px; height: 16px;
  border-radius: 50%; background: var(--text-primary); cursor: pointer; border: 3px solid #fff;
}
.dual-range-wrap input[type=range]:focus { outline: none; }

/* Sort */
.sortable { cursor: pointer; user-select: none; }
.sort-icon { display: inline-block; margin-left: 4px; font-size: .65rem; opacity: .4; }
.sort-icon.asc, .sort-icon.desc { opacity: 1; color: var(--text-primary); }

/* Step badge */
.step-badge {
  position: absolute; top: -14px; left: 20px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--text-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}

/* Pill buttons */
.pill-btn { cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pill-btn.active   { background: var(--text-primary) !important; color: #fff !important; border-color: var(--text-primary) !important; }
.pill-btn.inactive { background: transparent !important; color: var(--text-muted) !important; }

/* Kondisi badges */
.badge-baru    { display:inline-block; font-size:9px; font-weight:700; letter-spacing:.05em; padding:2px 6px; border-radius:4px; background:rgba(0,0,0,.05); color:var(--text-primary); border:1px solid rgba(0,0,0,.1); margin-top:3px; }
.badge-bekas   { display:inline-block; font-size:9px; font-weight:700; letter-spacing:.05em; padding:2px 6px; border-radius:4px; background:rgba(110,110,115,.07); color:var(--text-secondary); border:1px solid rgba(110,110,115,.15); margin-top:3px; }
.badge-spesial { display:inline-block; font-size:9px; font-weight:700; letter-spacing:.05em; padding:2px 6px; border-radius:4px; background:rgba(220,38,38,.07); color:#dc2626; border:1px solid rgba(220,38,38,.18); margin-top:3px; }

/* WA chat button (table) */
.wa-chat-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(37,211,102,.07); color: #16a34a;
  border: 1px solid rgba(37,211,102,.2);
  font-size: 11px; font-weight: 600;
  padding: 5px 10px; border-radius: 99px;
  transition: background .2s, border-color .2s; cursor: pointer; white-space: nowrap;
}
.wa-chat-btn:hover { background: rgba(37,211,102,.14); border-color: rgba(37,211,102,.32); }

/* Chips container */
#activeChips { flex-wrap: wrap; gap: 8px; align-items: center; }

/* Fade up */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade-up  { opacity: 0; animation: fadeUp .5s ease-out forwards; }
.delay-1  { animation-delay: .1s; }
.delay-2  { animation-delay: .2s; }
.delay-3  { animation-delay: .3s; }

/* ======================== BANNER SLIDER ======================== */
.banner-wrapper {
  position: relative; overflow: hidden; width: 100%;
  height: 460px;
  background: var(--bg-secondary);
  border-radius: 20px;
}
@media (max-width: 1024px) { .banner-wrapper { height: 380px; } }
@media (max-width: 640px)  { .banner-wrapper { height: 220px; } }

.banner-wrapper picture {
  display: block; width: 100%; height: 100%;
}
.banner-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}

/* Placeholder saat belum ada gambar */
.banner-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--bg-secondary); color: var(--text-muted);
  pointer-events: none;
}
.banner-placeholder svg   { opacity: .35; }
.banner-placeholder-title { font-size: .85rem; font-weight: 700; color: var(--text-secondary); }
.banner-placeholder-sub   { font-size: .72rem; color: var(--text-muted); }

/* ======================== (HERO — legacy classes, dipakai halaman lain) ======================== */

/* Hero text */
.hero-content { display: flex; flex-direction: column; gap: 0; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.055); border: 1px solid rgba(0,0,0,.1);
  color: var(--text-primary);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px; width: fit-content; margin-bottom: 24px;
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-primary); flex-shrink: 0; }
.hero-h1 {
  font-size: clamp(1.85rem, 6vw, 5rem); font-weight: 900; line-height: 1.06;
  letter-spacing: -.025em; color: var(--text-primary); margin: 0 0 20px; font-style: normal;
}
.hero-h1-muted { font-style: normal; color: var(--text-muted); }
.hero-desc {
  color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7;
  max-width: 440px; width: 100%; margin: 0 0 28px;
}
.hero-stars { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; }
.hero-stars-icons { color: #f59e0b; font-size: .95rem; letter-spacing: 1px; }
.hero-stars-score { font-weight: 800; font-size: .95rem; color: var(--text-primary); }
.hero-stars-count { color: var(--text-muted); font-size: .85rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; max-width: 100%; }

/* Stats row (slide 2) */
.hero-stats-row { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-stat-item { display: flex; flex-direction: column; gap: 1px; }
.hero-stat-num  { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); }
.hero-stat-lbl  { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.hero-stat-divider { width: 1px; height: 28px; background: var(--border-light); }

/* Steps row (slide 3) */
.hero-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-step  { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: .85rem; }
.hero-step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  color: var(--text-primary); font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* CTA buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text-primary); color: #fff;
  font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  padding: 14px 28px; border-radius: 99px; text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover { background: #3a3a3c; transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-secondary);
  font-weight: 600; font-size: .85rem;
  padding: 14px 20px; border-radius: 99px; border: 1px solid var(--border);
  text-decoration: none; white-space: nowrap; transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* Hero image col */
.hero-img-col { display: flex; justify-content: center; align-items: center; }
@media (min-width: 1024px) { .hero-img-col { justify-content: flex-end; } }
.hero-img-wrap { position: relative; display: inline-block; }

/* Device glow */
.hero-device-glow {
  position: absolute; width: 320px; height: 420px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  border-radius: 50%; pointer-events: none; z-index: 0;
  animation: heroDeviceGlow 5s ease-in-out infinite;
}
@keyframes heroDeviceGlow {
  0%, 100% { opacity: .5; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: .9; transform: translate(-50%,-50%) scale(1.08); }
}
.hero-device-ring-a,
.hero-device-ring-b {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.055); pointer-events: none; z-index: 0;
}
.hero-device-ring-a { width: 270px; height: 410px; transform: translate(-50%,-50%); animation: heroRingExpand 4.5s ease-out infinite; }
.hero-device-ring-b { width: 360px; height: 540px; transform: translate(-50%,-50%); animation: heroRingExpand 4.5s ease-out infinite 2s; border-color: rgba(0,0,0,.025); }
@keyframes heroRingExpand {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(.86); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.07); }
}
.hero-device-svg {
  width: 200px; height: 345px; display: block; position: relative; z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.13)) drop-shadow(0 4px 12px rgba(0,0,0,.08));
  animation: heroDeviceFloat 8s ease-in-out infinite;
}
@keyframes heroDeviceFloat {
  0%, 100% { transform: translateY(0px) rotate(.3deg); }
  50%       { transform: translateY(-10px) rotate(-.3deg); }
}
@media (min-width: 1024px) { .hero-device-svg { width: 232px; height: 400px; } }
@media (max-width: 768px) {
  .hero-device-svg    { width: 158px; height: 272px; }
  .hero-device-glow   { width: 210px; height: 290px; }
  .hero-device-ring-a { width: 190px; height: 300px; }
  .hero-device-ring-b { width: 256px; height: 390px; }
}
@media (max-width: 480px) { .hero-device-svg { width: 136px; height: 234px; } }

/* Hero chip */
.hero-chip {
  position: absolute; bottom: -16px; left: -20px;
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 16px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg); z-index: 2; backdrop-filter: blur(8px);
}
.hero-chip-icon  { font-size: 1.4rem; flex-shrink: 0; }
.hero-chip-title { font-size: .8rem; font-weight: 700; color: var(--text-primary); margin: 0 0 2px; }
.hero-chip-sub   { font-size: .72rem; color: var(--text-muted); margin: 0; }

/* Hero nav */
.hero-nav {
  position: absolute; top: 50%; z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.88); border: 1px solid rgba(0,0,0,.08);
  color: var(--text-primary); display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(8px); transform: translateY(-50%);
  transition: background .2s, box-shadow .2s; box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.hero-nav:hover { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.14); }
.hero-nav-prev { left: 16px; }
.hero-nav-next { right: 16px; }

/* Hero dots */
.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; z-index: 10;
}
.hero-dot { height: 4px; border-radius: 99px; background: rgba(0,0,0,.15); transition: width .3s ease, background .3s ease; cursor: pointer; width: 12px; }
.hero-dot.active { width: 28px; background: var(--text-primary); }

/* ======================== STATS BAR ======================== */
.stats-bar { background: #fff; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 28px 0; }
.stats-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.stat-item  { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 40px; }
.stat-num   { font-size: 1.4rem; font-weight: 900; color: var(--text-primary); letter-spacing: -.02em; }
.stat-lbl   { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; }
.stat-divider { width: 1px; height: 40px; background: var(--border-light); }
@media (max-width: 640px) {
  .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-light); }
  .stat-item  { background: #fff; padding: 20px 16px; }
  .stat-divider { display: none; }
}

/* ======================== BRAND PARTNERS ======================== */
.brands-section { padding: 52px 0; background: var(--bg-secondary); border-bottom: 1px solid var(--border-light); }
.brands-label {
  text-align: center; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 28px;
}
.brands-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 12px; padding: 9px 18px;
  transition: border-color .2s, box-shadow .2s; cursor: default;
}
.brand-chip:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }
.brand-chip-dot  { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.brand-chip-name { font-size: .82rem; font-weight: 700; color: var(--text-primary); letter-spacing: -.01em; }

/* ======================== PROMO BANNER ======================== */
.promo-section { padding: 48px 0; background: #fff; }
.promo-banner {
  position: relative; overflow: hidden;
  background: var(--text-primary); border-radius: 24px; padding: 48px 52px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; min-height: 180px;
}
.promo-banner::before {
  content: ''; position: absolute; top: -80px; right: 80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%); pointer-events: none;
}
.promo-banner::after {
  content: ''; position: absolute; bottom: -90px; right: -40px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.07) 0%, transparent 70%); pointer-events: none;
}
.promo-text { position: relative; z-index: 1; }
.promo-badge {
  display: inline-block;
  background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.3);
  color: #f59e0b; font-size: .63rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px; margin-bottom: 14px;
}
.promo-title {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900;
  color: #fff; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 8px;
}
.promo-sub { font-size: .85rem; color: rgba(255,255,255,.45); margin: 0; }
.promo-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--text-primary);
  font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em;
  padding: 14px 28px; border-radius: 99px; text-decoration: none; white-space: nowrap; flex-shrink: 0;
  transition: background .2s, transform .2s; position: relative; z-index: 1;
}
.promo-cta:hover { background: var(--bg-secondary); transform: translateY(-1px); }

/* ======================== TRUST TICKER ======================== */
.trust-ticker { background: var(--bg-secondary); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 13px 0; overflow: hidden; }
.trust-ticker-inner { display: flex; white-space: nowrap; }
.trust-ticker-scroll { display: inline-flex; align-items: center; animation: ticker 55s linear infinite; flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust-ticker:hover .trust-ticker-scroll { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; padding: 0 26px; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.ticker-star { color: #f59e0b; margin-right: 4px; font-size: .75rem; }
.ticker-sep  { color: var(--border); font-size: 1rem; flex-shrink: 0; line-height: 1; }

/* ======================== SECTION COMMON ======================== */
.section-pad    { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.section-title  { font-size: clamp(1.7rem, 5vw, 3rem); font-weight: 900; color: var(--text-primary); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; }
.section-sub    { color: var(--text-secondary); font-size: 1rem; max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* ======================== SERVICE BANNERS ======================== */
.banners-section { padding: 72px 0; background: var(--bg-secondary); }
.banners-grid    { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .banners-grid { grid-template-columns: repeat(3, 1fr); } }

.banner-card {
  position: relative; border-radius: 22px; padding: 28px 26px 24px;
  display: flex; flex-direction: column; gap: 16px;
  text-decoration: none; color: inherit; overflow: hidden;
  border: 1px solid var(--border-light); background: #fff;
  transition: border-color .35s ease, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.banner-card::before {
  content: ''; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ac, rgba(0,0,0,.07)), transparent);
}
.banner-card::after {
  content: ''; position: absolute; top: -60px; right: -30px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, var(--ac-glow, rgba(0,0,0,.015)) 0%, transparent 70%); pointer-events: none;
}
.banner-card:hover { border-color: var(--ac-border, var(--border)); transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.1); }
.banner-tag-row { display: flex; align-items: center; justify-content: space-between; }
.banner-tag {
  display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ac, var(--text-secondary));
  background: var(--ac-bg, rgba(0,0,0,.04));
  border: 1px solid var(--ac-border, rgba(0,0,0,.08));
  padding: 4px 10px; border-radius: 99px;
}
.banner-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--ac-bg, var(--bg-secondary)); border: 1px solid var(--ac-border, var(--border-light));
  display: flex; align-items: center; justify-content: center; color: var(--ac, var(--text-secondary)); flex-shrink: 0;
}
.banner-title { font-size: clamp(1.2rem, 2.6vw, 1.55rem); font-weight: 900; line-height: 1.18; letter-spacing: -.025em; color: var(--text-primary); margin: 0; }
.banner-desc  { font-size: .83rem; color: var(--text-secondary); line-height: 1.65; margin: 0; flex: 1; }
.banner-kpis  { display: flex; gap: 20px; padding-top: 16px; border-top: 1px solid var(--bg-tertiary); }
.banner-kpi-item { display: flex; flex-direction: column; gap: 2px; }
.banner-kpi-num  { font-size: .95rem; font-weight: 800; color: var(--text-primary); letter-spacing: -.01em; }
.banner-kpi-lbl  { font-size: .62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; }
.banner-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ac, var(--text-secondary)); transition: gap .25s ease, opacity .25s ease; padding-top: 2px;
}
.banner-card:hover .banner-cta { gap: 10px; opacity: .9; }

/* ======================== REWARD SLIDER ======================== */
.reward-slider-section {
  padding: 32px 0; background: #fff; overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}
.reward-track-wrapper {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.reward-track {
  display: flex; align-items: center; gap: 32px; width: max-content;
  animation: rewardScroll 22s linear infinite;
}
.reward-slider-section:hover .reward-track { animation-play-state: paused; }
@keyframes rewardScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.reward-item {
  flex-shrink: 0; height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.reward-item img {
  height: 100%; width: auto; object-fit: contain; display: block;
}
@media (max-width: 640px) {
  .reward-item { height: 80px; }
  .reward-track { gap: 20px; }
}


/* ======================== QUICK ACTIONS ======================== */
.quick-actions-section { padding: 48px 0; background: #fff; }
.qa-row { display: flex; gap: 16px; justify-content: center; }
.qa-row-top { margin-bottom: 16px; }
.qa-btn {
  display: flex; align-items: center; justify-content: center;
  flex: 1; max-width: 300px; padding: 20px 0;
  background: var(--text-primary); color: #fff;
  font-size: 1rem; font-weight: 900; letter-spacing: .1em;
  border-radius: 16px; text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.qa-btn:hover { background: #3a3a3c; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
@media (max-width: 680px) {
  .qa-row { flex-direction: column; align-items: stretch; }
  .qa-btn { flex: none; width: 100%; max-width: none; }
}

/* ======================== PROMO IMAGE BANNERS ======================== */
.promo-img-section { padding: 60px 0; background: var(--bg-secondary); }
.promo-img-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .promo-img-grid { grid-template-columns: repeat(3, 1fr); } }

.promo-img-card {
  display: block; border-radius: 20px; overflow: hidden;
  position: relative; text-decoration: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
  box-shadow: var(--shadow-sm);
}
.promo-img-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-lg); }

.promo-img { width: 100%; height: auto; display: block; }

.promo-img-placeholder {
  width: 100%; aspect-ratio: 3/4; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-tertiary); border: 1.5px dashed var(--border);
  border-radius: 20px; color: var(--text-muted); text-align: center;
}
@media (min-width: 768px) { .promo-img-placeholder { aspect-ratio: 2/3; display: none; } }
.promo-img-placeholder svg { opacity: .4; }
.promo-img-placeholder span { font-size: .72rem; color: var(--text-muted); }
.promo-img-ph-hint { font-size: .8rem !important; font-weight: 700; color: var(--text-secondary) !important; }

/* ======================== SERVICES GRID ======================== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  text-decoration: none; color: inherit;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; cursor: pointer;
}
.service-card:hover { border-color: var(--border); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon-wrap {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-icon  { width: 22px; height: 22px; color: var(--text-secondary); }
.service-body  { flex: 1; }
.service-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin: 0 0 8px; }
.service-desc  { font-size: .85rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }
.service-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--bg-tertiary);
  color: var(--text-muted); transition: color .2s;
}
.service-card:hover .service-footer { color: var(--text-secondary); }
.service-link { font-size: .82rem; font-weight: 600; }

/* WA card */
.service-card-wa { background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%); border-color: rgba(22,163,74,.15); align-items: center; justify-content: center; }
.service-card-wa:hover { border-color: rgba(22,163,74,.28); box-shadow: 0 8px 32px rgba(22,163,74,.08); }
.service-wa-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.service-wa-icon  { color: #25D366; }
.service-wa-title { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); margin: 0; }
.service-wa-sub   { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.service-wa-btn {
  display: inline-block;
  background: rgba(37,211,102,.07); border: 1px solid rgba(37,211,102,.18);
  color: #16a34a; font-size: .8rem; font-weight: 700;
  padding: 8px 20px; border-radius: 99px; margin-top: 4px;
  transition: background .2s, border-color .2s;
}
.service-card-wa:hover .service-wa-btn { background: rgba(37,211,102,.14); border-color: rgba(37,211,102,.32); }

/* ======================== MARKETPLACE ======================== */
.marketplace-section { padding: 80px 0; background: #fff; }
.mp-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .mp-layout { grid-template-columns: 1fr 1fr; gap: 64px; } }

.mp-store-img { width: 100%; border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; display: block; }
.mp-img-placeholder {
  width: 100%; aspect-ratio: 4/3; border-radius: 20px;
  background: var(--bg-secondary); border: 1.5px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--text-muted); font-size: .75rem;
}
.mp-content { display: flex; flex-direction: column; gap: 18px; }
.mp-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--text-primary); line-height: 1.1; letter-spacing: -.025em; margin: 0; }
.mp-desc  { font-size: .92rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }
.mp-logo-row { display: flex; flex-wrap: wrap; gap: 10px; }
.mp-logo-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 12px;
  background: #fff; border: 1px solid var(--border-light);
  text-decoration: none; font-size: .84rem; font-weight: 700; color: var(--text-primary);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.mp-logo-btn:hover { box-shadow: var(--shadow-sm); border-color: var(--border); transform: translateY(-2px); }
.mp-logo-icon { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }

/* ======================== MODAL ======================== */
#productModal { opacity: 0; transition: opacity 0.22s ease; }
#productModal.modal-open { opacity: 1; }
#productModal > div { opacity: 0; transform: translateY(28px) scale(0.95); transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
#productModal.modal-open > div { opacity: 1; transform: translateY(0) scale(1); }

/* ======================== NEW SECTIONS — RESPONSIVE ======================== */

/* Quick actions: mobile only */
@media (min-width: 768px) {
  .quick-actions-section { display: none; }
}

/* Promo image cards: desktop only */
@media (max-width: 767px) {
  .promo-img-section { display: none; }
}

/* --- TABLET (641px – 1024px) ---
   Banner sedikit lebih tinggi, section padding berkurang bertahap */
@media (min-width: 641px) and (max-width: 1024px) {
  .promo-img-section   { padding: 48px 0; }
  .marketplace-section { padding: 56px 0; }
  .quick-actions-section { padding: 40px 0; }
}

/* Promo cards: 2-kolom di 500–767px (small tablet / large mobile landscape) */
@media (min-width: 500px) and (max-width: 767px) {
  .promo-img-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-img             { aspect-ratio: 2/3; }
  .promo-img-placeholder { aspect-ratio: 2/3; }
}

/* Promo cards: horizontal scroll di ≤499px (mobile portrait) */
@media (max-width: 499px) {
  .promo-img-section { padding: 32px 0; }
  .promo-img-grid {
    display: flex; overflow-x: auto; gap: 12px;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .promo-img-grid::-webkit-scrollbar { display: none; }
  .promo-img-card {
    flex: 0 0 75vw;
    max-width: 260px;
    scroll-snap-align: start;
  }
  .promo-img             { aspect-ratio: 3/4; }
  .promo-img-placeholder { aspect-ratio: 3/4; }
}

/* --- MOBILE (≤640px) --- */
@media (max-width: 640px) {
  /* Quick actions compact */
  .quick-actions-section { padding: 32px 0; }
  .qa-btn { font-size: .88rem; padding: 17px 0; border-radius: 14px; }

  /* Marketplace compact */
  .marketplace-section { padding: 48px 0; }
  .mp-title            { font-size: 1.85rem; }
  .mp-logo-row         { gap: 8px; }
  .mp-logo-btn         { padding: 9px 14px; font-size: .78rem; }
}

/* --- SMALL MOBILE (≤480px) --- */
@media (max-width: 480px) {
  /* WA float compact */
  .wa-float { width: 48px; height: 48px; bottom: 18px; right: 18px; }
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 768px) {
  .hero-slide    { padding: 36px 0 60px; }
  .hero-grid     { gap: 28px; }
  .hero-img-col  { margin-top: 8px; }
  .hero-chip     { display: none; }
  .hero-content  { align-items: center; text-align: center; }
  .hero-tag, .hero-h1 { text-align: center; }
  .hero-h1       { font-size: clamp(1.9rem, 8vw, 2.8rem); margin-bottom: 14px; }
  .hero-desc     { text-align: center; font-size: .92rem; margin-bottom: 18px; max-width: 100%; }
  .hero-stars, .hero-stats-row, .hero-steps { justify-content: center; margin-bottom: 18px; }
  .hero-ctas     { justify-content: center; flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-primary, .btn-ghost { justify-content: center; width: 100%; box-sizing: border-box; }
  .hero-nav      { width: 40px; height: 40px; }
  .hero-nav-prev { left: 10px; }
  .hero-nav-next { right: 10px; }
  .section-pad   { padding: 64px 0; }
  .section-header { margin-bottom: 44px; }
  .marketplace-grid { gap: 48px; }
  .promo-banner  { padding: 36px 28px; }
}
@media (max-width: 480px) {
  .hero-slide     { padding: 28px 0 52px; }
  .hero-h1        { font-size: 1.85rem; }
  .hero-tag       { font-size: .6rem; padding: 5px 11px; letter-spacing: .09em; }
  .hero-stars-count { display: none; }
  .hero-desc      { font-size: .88rem; }
  .btn-primary    { padding: 13px 20px; font-size: .84rem; }
  .btn-ghost      { padding: 12px 16px; font-size: .84rem; }
  .hero-stat-num  { font-size: .95rem; }
  .hero-stat-lbl  { font-size: .63rem; }
  .hero-stats-row { gap: 10px; }
  .stat-num       { font-size: 1.15rem; }
  .stat-lbl       { font-size: .65rem; }
  .stat-item      { padding: 16px 12px; }
  .section-pad    { padding: 52px 0; }
  .section-header { margin-bottom: 36px; }
  .service-card   { padding: 22px; }
  .service-card-wa { padding: 28px 22px; }
  .marketplace-grid { gap: 40px; }
  .mp-stat        { padding: 24px 16px; }
  .mp-stat-num    { font-size: 1.6rem; }
  .mp-links       { gap: 8px; }
  .mp-link        { padding: 8px 14px; font-size: .82rem; }
  .promo-banner   { padding: 28px 20px; }
  .brands-row     { gap: 8px; }
  .brand-chip     { padding: 7px 14px; }
  .brand-chip-name { font-size: .76rem; }
}
