:root {
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --container: 1120px;

  --background: #fbfdff;
  --foreground: #172033;
  --card: #ffffff;
  --muted: #667085;
  --muted-soft: #f3f7fc;
  --border: #e5ebf3;
  --border-strong: #d8e2ee;

  --primary: #3478f6;
  --primary-dark: #245ed8;
  --primary-foreground: #ffffff;
  --success: #16a76a;

  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
  --gradient-hero: linear-gradient(135deg, #f7fbff 0%, #eaf3ff 48%, #edf0ff 100%);
  --shadow-soft: 0 14px 40px -24px rgba(52, 120, 246, 0.55);
  --shadow-card: 0 16px 42px -28px rgba(23, 32, 51, 0.34);
  --shadow-card-hover: 0 26px 60px -30px rgba(52, 120, 246, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.12), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(124, 58, 237, 0.10), transparent 30%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(52, 120, 246, 0.42);
  outline-offset: 3px;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(52, 120, 246, 0.45);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 999;
  border-radius: 999px;
  background: var(--card);
  color: var(--foreground);
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
}

.skip-link:focus {
  left: 16px;
}

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 226, 238, 0.76);
  background: rgba(251, 253, 255, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.brand-mark .icon {
  width: 22px;
  height: 22px;
}

.brand-text {
  font-size: 1.05rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-menu a {
  transition: color 160ms ease;
}

.nav-menu a:hover {
  color: var(--foreground);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--foreground);
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-cta,
.button,
.order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 750;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  padding: 10px 16px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.88rem;
  box-shadow: var(--shadow-soft);
}

.nav-cta:hover,
.button-primary:hover,
.order-button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::after,
.hero::before {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.55;
}

.hero::before {
  width: 260px;
  height: 260px;
  background: rgba(59, 130, 246, 0.14);
  top: -90px;
  left: -80px;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: rgba(124, 58, 237, 0.12);
  right: -110px;
  bottom: -110px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 84px 0 88px;
  text-align: center;
}

.status-pill {
  width: fit-content;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(216, 226, 238, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  padding: 8px 15px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(22, 167, 106, 0.12);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.86); }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 820px;
  margin: 22px auto 0;
  font-size: clamp(2.5rem, 6vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 13px 23px;
  font-size: 0.95rem;
}

.button-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--foreground);
}

.button-secondary:hover {
  background: var(--muted-soft);
  transform: translateY(-1px);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 52px auto 0;
  text-align: left;
}

.feature-card {
  border: 1px solid rgba(216, 226, 238, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  padding: 22px;
  box-shadow: 0 12px 36px -30px rgba(23, 32, 51, 0.45);
}

.feature-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 11px;
  background: rgba(52, 120, 246, 0.10);
  color: var(--primary);
}

.feature-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.94rem;
}

.feature-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding-top: 78px;
  padding-bottom: 78px;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 0;
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
}

.toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 650px);
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  padding: 0 18px;
  box-shadow: var(--shadow-card);
}

.search-box .icon {
  color: var(--muted);
  font-size: 1.05rem;
}

.search-box input {
  width: 100%;
  min-height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--foreground);
}

.search-box input::placeholder {
  color: #98a2b3;
}

.filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  padding: 9px 15px;
  font-size: 0.86rem;
  font-weight: 750;
  transition: all 160ms ease;
}

.filter-button:hover,
.filter-button.active {
  border-color: transparent;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

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

.product-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 120, 246, 0.38);
  box-shadow: var(--shadow-card-hover);
}

.badge {
  position: absolute;
  top: -12px;
  right: 24px;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.product-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.product-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(52, 120, 246, 0.10), rgba(124, 58, 237, 0.10));
  color: var(--primary);
  font-weight: 900;
  letter-spacing: -0.05em;
  overflow: hidden;
}

.product-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.product-title h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--muted-soft);
  color: var(--muted);
  padding: 4px 9px;
  font-size: 0.75rem;
  font-weight: 750;
}

.product-description {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-list {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f7faff;
  padding: 13px 13px 13px 15px;
}

.price-copy {
  min-width: 0;
}

.price-duration {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-value {
  display: block;
  margin-top: 1px;
  color: var(--foreground);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.order-button {
  flex: 0 0 auto;
  background: var(--primary);
  color: var(--primary-foreground);
  min-height: 36px;
  padding: 8px 13px;
  font-size: 0.78rem;
  box-shadow: 0 10px 25px -18px rgba(52, 120, 246, 0.8);
}

.product-benefits {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}

.product-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(22, 167, 106, 0.10);
  color: var(--success);
  font-weight: 900;
  font-size: 0.76rem;
}

.product-note {
  margin: 16px 0 0;
  color: #7a8597;
  font-size: 0.8rem;
}

.empty-state {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  color: var(--foreground);
  font-size: 1.05rem;
}

.order-section {
  background: rgba(243, 247, 252, 0.72);
  border-top: 1px solid rgba(216, 226, 238, 0.6);
  border-bottom: 1px solid rgba(216, 226, 238, 0.6);
}

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

.step-card,
.payment-card,
.faq-item {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.step-card {
  border-radius: var(--radius-xl);
  padding: 26px;
}

.step-card span {
  display: block;
  color: rgba(52, 120, 246, 0.28);
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.step-card h3 {
  margin: 14px 0 7px;
  font-size: 1.14rem;
  letter-spacing: -0.03em;
}

.step-card p,
.payment-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.35fr;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  border-radius: var(--radius-xl);
  padding: 28px;
}

.payment-card h3 {
  margin: 8px 0 8px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

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

.payment-method {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f7faff;
  padding: 14px;
}

.payment-method strong {
  display: block;
  font-size: 0.93rem;
}

.payment-method span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.faq-section {
  max-width: 820px;
}

.with-icon .icon {
  width: 16px;
  height: 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.faq-item[open] summary span {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.cta-wrap {
  padding-bottom: 78px;
}

.cta-card {
  overflow: hidden;
  position: relative;
  border-radius: 32px;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  text-align: center;
  padding: 52px 28px;
  box-shadow: 0 28px 70px -36px rgba(52, 120, 246, 0.9);
}

.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}

.cta-card::before {
  top: -90px;
  left: -50px;
}

.cta-card::after {
  right: -70px;
  bottom: -110px;
}

.cta-card h2,
.cta-card p,
.cta-card a {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.05em;
}

.cta-card p {
  max-width: 620px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.84);
}

.cta-button {
  margin-top: 22px;
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 18px 34px -26px rgba(23, 32, 51, 0.8);
}

.cta-button:hover {
  transform: translateY(-1px);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a:hover {
  color: var(--foreground);
}

.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--success);
  color: #fff;
  box-shadow: 0 18px 44px -20px rgba(22, 167, 106, 0.85);
  transition: transform 160ms ease;
}

.floating-wa:hover {
  transform: scale(1.05);
}

.floating-wa .icon {
  width: 29px;
  height: 29px;
}

@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--card);
    padding: 10px;
    box-shadow: var(--shadow-card);
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nav-menu a:hover {
    background: var(--muted-soft);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-features,
  .product-grid,
  .steps-grid,
  .payment-card {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 68px 0 72px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand-text {
    font-size: 0.98rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .button,
  .hero-actions a {
    width: 100%;
  }

  .search-box {
    border-radius: 20px;
  }

  .product-card,
  .step-card,
  .payment-card {
    padding: 22px;
    border-radius: 24px;
  }

  .price-item {
    align-items: stretch;
    flex-direction: column;
  }

  .order-button {
    width: 100%;
  }

  .payment-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-wa {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}


/* Empty search result: show WhatsApp action for requested keyword */
.empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.empty-state[hidden] {
  display: none !important;
}

.empty-state span {
  display: block;
}

.empty-keyword {
  border-radius: 999px;
  background: var(--muted-soft);
  color: var(--foreground);
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: 750;
}

.empty-wa-button {
  width: fit-content;
  margin-top: 4px;
}


/* Section Reseller */
#reseller,
#harga,
#kepercayaan,
#keamanan,
#cara-order,
#pembayaran,
#faq,
#kebijakan,
#syarat-ringkas,
#order {
  scroll-margin-top: 92px;
}

.button-accent {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.button-accent:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.reseller-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(216, 226, 238, 0.72);
  border-bottom: 1px solid rgba(216, 226, 238, 0.72);
  background:
    radial-gradient(circle at 18% 10%, rgba(52, 120, 246, 0.12), transparent 31%),
    radial-gradient(circle at 82% 22%, rgba(124, 58, 237, 0.12), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 46%, #f4f1ff 100%);
}

.reseller-section::before,
.reseller-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0.38;
  filter: blur(2px);
}

.reseller-section::before {
  width: 420px;
  height: 420px;
  left: -160px;
  top: 50px;
  border: 58px solid rgba(52, 120, 246, 0.12);
}

.reseller-section::after {
  width: 500px;
  height: 500px;
  right: -180px;
  bottom: -150px;
  background: rgba(124, 58, 237, 0.10);
}

.reseller-inner {
  position: relative;
  z-index: 1;
}

.reseller-heading {
  margin-bottom: 30px;
}

.reseller-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.reseller-card {
  min-height: 156px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(216, 226, 238, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 16px 40px -32px rgba(23, 32, 51, 0.38);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.reseller-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 120, 246, 0.32);
  box-shadow: var(--shadow-card-hover);
}

.reseller-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 17px;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.reseller-icon .icon {
  width: 22px;
  height: 22px;
}

.reseller-card strong {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.reseller-card span:not(.reseller-icon) {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.reseller-content {
  display: grid;
  gap: 16px;
  max-width: 880px;
  margin: 34px auto 0;
}

.reseller-panel,
.reseller-cta-panel {
  border: 1px solid rgba(216, 226, 238, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  padding: 26px;
}

.reseller-simulation {
  text-align: center;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(52, 120, 246, 0.18);
  border-radius: 999px;
  background: rgba(52, 120, 246, 0.08);
  color: var(--primary);
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 850;
}

.reseller-simulation p {
  max-width: 620px;
  margin: 14px auto 5px;
  color: var(--foreground);
  font-weight: 750;
}

.reseller-simulation strong {
  display: block;
  color: var(--primary);
  font-size: 1.05rem;
}

.reseller-panel h3,
.reseller-cta-panel h3 {
  margin-bottom: 0;
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.reseller-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.reseller-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.reseller-benefits li span {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(52, 120, 246, 0.10);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
}

.reseller-cta-panel {
  overflow: hidden;
  position: relative;
  text-align: center;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
}

.reseller-cta-panel::before,
.reseller-cta-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.reseller-cta-panel::before {
  width: 160px;
  height: 160px;
  top: -70px;
  left: -50px;
}

.reseller-cta-panel::after {
  width: 190px;
  height: 190px;
  right: -80px;
  bottom: -110px;
}

.reseller-cta-panel h3,
.reseller-cta-panel p,
.reseller-cta-panel a {
  position: relative;
  z-index: 1;
}

.reseller-cta-panel p {
  max-width: 590px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.84);
}

.reseller-wa-button {
  margin-top: 20px;
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 18px 34px -26px rgba(23, 32, 51, 0.8);
}

.reseller-wa-button:hover {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .reseller-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .reseller-flow {
    grid-template-columns: 1fr;
  }

  .reseller-benefits {
    grid-template-columns: 1fr;
  }

  .reseller-panel,
  .reseller-cta-panel {
    padding: 22px;
    border-radius: 24px;
  }
}

/* Final optimization additions */
.anchor-target {
  display: block;
  position: relative;
  top: -92px;
  visibility: hidden;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, 820px);
  margin-inline: auto;
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.sort-box {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.sort-box select {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--foreground);
  padding: 0 36px 0 14px;
  font-weight: 750;
  box-shadow: 0 10px 28px -24px rgba(23, 32, 51, 0.44);
}

.audience-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.audience-chips span {
  border: 1px solid rgba(52, 120, 246, 0.18);
  border-radius: 999px;
  background: rgba(52, 120, 246, 0.08);
  color: var(--primary);
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--foreground);
}

.noscript-warning {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 99999;
  border-radius: 16px;
  background: #172033;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-card);
}

.legal-page {
  min-height: 100vh;
  padding: 54px 0;
}

.legal-card {
  max-width: 820px;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.legal-card h2 {
  margin: 28px 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card .button {
  width: fit-content;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .trust-section {
    grid-template-columns: 1fr;
  }

  .trust-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  body::before {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-card {
    min-height: auto;
  }

  .filter-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-box {
    justify-content: space-between;
  }

  .sort-box select {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .legal-card {
    padding: 22px;
    border-radius: 24px;
  }
}



/* Policy section polish */
.policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-card h3 {
  margin: 0 0 8px;
}

@media (max-width: 700px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }
}

/* Final clean overrides for the optimized package */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.policy-card {
  min-height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.trust-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(52, 120, 246, 0.10);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 950;
  box-shadow: none;
}

.trust-card strong,
.policy-card h3 {
  display: block;
  margin: 16px 0 7px;
  color: var(--foreground);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.policy-card h3 {
  margin-top: 0;
}

.trust-card p,
.policy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -6px 0 20px;
}

.product-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.sort-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.sort-box select {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--foreground);
  padding: 0 14px;
  font-weight: 750;
}

.featured-products[hidden] {
  display: none;
}

.featured-products {
  margin-bottom: 26px;
}

.featured-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.featured-heading strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.featured-heading span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.featured-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  padding: 18px;
  box-shadow: 0 12px 34px -28px rgba(23, 32, 51, 0.45);
}

.featured-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-card-head strong,
.featured-card-head span,
.featured-card p {
  display: block;
}

.featured-card-head span,
.featured-card p {
  color: var(--muted);
  font-size: 0.85rem;
}

.featured-card p {
  margin: 12px 0 14px;
  font-weight: 750;
}

.featured-card .button {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
}

.policy-section {
  max-width: 980px;
}

.reseller-audience {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.reseller-audience span {
  border: 1px solid rgba(52, 120, 246, 0.16);
  border-radius: 999px;
  background: rgba(52, 120, 246, 0.08);
  color: var(--foreground);
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 750;
}

.footer-main {
  display: grid;
  gap: 8px;
}

.footer-inner {
  align-items: flex-start;
}

@media (max-width: 900px) {
  .trust-grid,
  .policy-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .trust-notice,
  .catalog-meta,
  .featured-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x proximity;
  }

  .filter-button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .trust-card,
  .policy-card,
  .legal-card {
    padding: 22px;
    border-radius: 24px;
  }

  .sort-box,
  .sort-box select,
  .trust-notice .button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero::after {
    content: none !important;
    display: none !important;
  }
}

.payment-grid {
  grid-template-columns: 1fr;
}

.payment-method-qris {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 18%, rgba(52, 120, 246, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid rgba(52, 120, 246, 0.18);
  box-shadow: 0 18px 42px -30px rgba(23, 32, 51, 0.35);
}

.payment-logo-wrap {
  min-height: 112px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(216, 226, 238, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}

.payment-logo-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 28px;
  background: linear-gradient(135deg, #1f2937 0%, #3478f6 100%);
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.payment-logo-img {
  max-width: 118px;
  max-height: 92px;
  object-fit: contain;
}

.payment-method-body {
  display: grid;
  gap: 7px;
}

.payment-badge {
  width: fit-content;
  border-radius: 999px;
  background: rgba(22, 167, 106, 0.1);
  color: #118454 !important;
  padding: 6px 10px;
  font-size: 0.78rem !important;
  font-weight: 800;
}

.payment-method-qris strong {
  font-size: 1.25rem;
}

.payment-method-qris span {
  font-size: 0.94rem;
}

.payment-method-qris small {
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 640px) {
  .payment-method-qris {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .payment-method-body {
    justify-items: center;
  }
}

/* Fix posisi logo di card Rekomendasi Admin */
.featured-card-head {
  align-items: flex-start;
}

.featured-card-head .product-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin-top: 0;
}

.featured-card-head .product-icon img {
  display: block;
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  object-position: center;
  margin: 0;
  vertical-align: middle;
}

/* Biar teks di rekomendasi sejajar rapi dengan icon */
.featured-card-head > div {
  min-width: 0;
  padding-top: 1px;
}