/* =========================================================
   Robert Media 378 — Modern Clean
   Font: Space Grotesk (semua elemen, unified scale)
   Versi: 3.0 — Desktop & Mobile konsisten
========================================================= */

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Colors */
  --ink:    #111111;
  --muted:  #5a5a70;
  --paper:  #ffffff;
  --bg:     #f4f4f9;
  --accent: #7E4BFF;
  --mint:   #44D17F;
  --sun:    #FFD54A;
  --pink:   #E91E63;

  /* Layout */
  --radius:      16px;
  --shadow:      6px 6px 0 rgba(0,0,0,.88);
  --shadow-soft: 4px 4px 0 rgba(0,0,0,.82);
  --stroke:      2px;
  --max:         1140px;
  --ease:        cubic-bezier(.2,.9,.25,1);
  --header-offset: 0px;

  /* ── FONT SCALE — unified, pakai var() di seluruh file ── */
  --f-xs:   0.75rem;    /* 12px  label kecil, badge, meta     */
  --f-sm:   0.875rem;   /* 14px  caption, keterangan, link    */
  --f-base: 1rem;       /* 16px  body, paragraf utama          */
  --f-md:   1.0625rem;  /* 17px  deskripsi, lead text          */
  --f-lg:   1.25rem;    /* 20px  judul card, step              */
  --f-xl:   1.5rem;     /* 24px  section title kecil           */
  --f-2xl:  1.875rem;   /* 30px  section title                 */
  --f-3xl:  2.5rem;     /* 40px  hero title mobile             */
  --f-4xl:  3.25rem;    /* 52px  hero title desktop            */
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── GLOBAL FONT: Space Grotesk semua elemen ───────────── */
body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: var(--f-base);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
input, textarea, button, select {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: var(--f-base);
}
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

img, video { -webkit-user-drag: none; pointer-events: none; max-width: 100%; height: auto; display: block; }
.slider__slide img, .proof-card img, .gallery__media { pointer-events: auto; }
a { color: inherit; text-decoration: none; }
code { font-family: "Courier New", monospace; }

/* ─── CONTAINER ──────────────────────────────────────────── */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ─── UTILS ──────────────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px; top: 10px;
  padding: 10px 14px; border: var(--stroke) solid var(--ink);
  background: var(--paper); box-shadow: var(--shadow-soft);
  border-radius: 10px; z-index: 9999; font-size: var(--f-sm);
}
.skip:focus { left: 20px; }
body.is-loading { height: 100vh; overflow: hidden; }
body.lock { overflow: hidden; }
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.grid > .reveal:nth-child(1) { transition-delay:   0ms; }
.grid > .reveal:nth-child(2) { transition-delay:  80ms; }
.grid > .reveal:nth-child(3) { transition-delay: 160ms; }
.grid > .reveal:nth-child(4) { transition-delay: 240ms; }

/* ════════════════════════════════════════════════════════
   PRELOADER
════════════════════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0; z-index: 99999; padding: 28px;
  background:
    radial-gradient(900px 600px at 12% 10%, rgba(126,75,255,.14), transparent 60%),
    radial-gradient(700px 500px at 88% 12%, rgba(255,213,74,.18), transparent 60%),
    radial-gradient(800px 520px at 12% 88%, rgba(68,209,127,.16), transparent 60%),
    var(--paper);
  display: grid; place-items: center;
}
.preloader__card {
  width: min(560px, 100%); background: var(--paper);
  border: var(--stroke) solid var(--ink);
  border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow);
  padding: 24px 24px 22px; position: relative; overflow: hidden;
}
.preloader__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: var(--f-sm);
  border: var(--stroke) solid var(--ink); border-radius: 999px;
  padding: 8px 14px; box-shadow: var(--shadow-soft);
}
.preloader__badge .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(126,75,255,.22);
}
.preloader__title {
  margin-top: 16px; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.1;
}
.preloader__title .accent { color: var(--accent); }
.preloader__meter {
  height: 13px; border-radius: 999px; border: var(--stroke) solid var(--ink);
  background: #fff; margin-top: 18px; position: relative; overflow: hidden;
}
.preloader__bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--mint), var(--sun));
  border-right: var(--stroke) solid var(--ink); border-radius: 999px;
  transition: width .15s linear;
}
.preloader__percent { font-weight: 800; font-size: 2.2rem; margin-top: 10px; letter-spacing: -.02em; }
.preloader__hint { color: var(--muted); margin-top: -2px; font-size: var(--f-sm); }
.preloader__shapes .shape {
  position: absolute; border: var(--stroke) solid var(--ink); border-radius: 24px; opacity: .9;
}
.preloader__shapes .s1 { width: 150px; height: 150px; background: rgba(126,75,255,.2); right: -60px; top: -60px; transform: rotate(10deg); }
.preloader__shapes .s2 { width: 120px; height: 120px; background: rgba(68,209,127,.18); left: -50px; bottom: -40px; transform: rotate(-8deg); }
.preloader__shapes .s3 { width: 92px; height: 92px; border-radius: 50%; background: rgba(255,213,74,.25); left: 52%; bottom: -55px; }

/* ════════════════════════════════════════════════════════
   SCROLL STRIPE
════════════════════════════════════════════════════════ */
.stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #a78bfa 30%, var(--mint) 60%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: stripeMove 3s linear infinite;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}
@keyframes stripeMove {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ════════════════════════════════════════════════════════
   HEADER & NAV
════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex; flex-direction: column;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: var(--f-base); cursor: pointer;
  white-space: nowrap;
}
.brand__icon {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: var(--stroke) solid var(--ink); border-radius: 10px;
  overflow: hidden; box-shadow: 3px 3px 0 rgba(0,0,0,.9); flex-shrink: 0;
}
.brand__icon img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.brand__text { font-weight: 800; font-size: var(--f-base); }
.brand--footer .brand__icon { box-shadow: none; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-weight: 700; font-size: var(--f-sm); padding: 8px 11px;
  border-radius: 10px; position: relative;
  transition: transform .15s var(--ease), background .15s var(--ease); cursor: pointer;
}
.nav__link:hover { background: rgba(126,75,255,.1); transform: translateY(-1px); }
.nav__link.is-active {
  background: rgba(126,75,255,.12); box-shadow: 3px 3px 0 rgba(0,0,0,.9);
  border: 1px solid rgba(0,0,0,.14);
}
.nav__link::after {
  content: ''; display: block; height: 2px; width: 0;
  background: var(--accent); border-radius: 2px;
  transition: width 0.25s var(--ease); margin-top: 2px;
}
.nav__link:hover::after { width: 100%; }

.nav__right   { display: flex; align-items: center; gap: 12px; }
.nav__actions { display: flex; gap: 8px; align-items: center; }

.live-visitors {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: var(--f-xs);
  padding: 5px 11px; background: #fff;
  border: var(--stroke) solid var(--ink); border-radius: 999px;
  box-shadow: 2px 2px 0 rgba(0,0,0,.9); white-space: nowrap;
}
.pulse-dot {
  width: 7px; height: 7px; background: var(--mint);
  border-radius: 50%; animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(68,209,127,.6); }
  70%  { box-shadow: 0 0 0 6px rgba(68,209,127,0); }
  100% { box-shadow: 0 0 0 0   rgba(68,209,127,0); }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
}

/* ════════════════════════════════════════════════════════
   FAB / MENU MOBILE
════════════════════════════════════════════════════════ */
.fab-container {
  position: fixed; left: 20px; top: calc(var(--header-offset) + 16px);
  z-index: 998; display: flex; flex-direction: column; align-items: flex-start;
}
.fab-btn {
  width: 42px; height: 42px; border-radius: 11px; background: var(--sun);
  border: var(--stroke) solid var(--ink); color: var(--ink); font-size: var(--f-lg);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0,0,0,.9);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  outline: none;
}
.fab-btn:active { transform: translate(1px,1px); box-shadow: 2px 2px 0 rgba(0,0,0,.9); }
.fab-btn.is-active { background: var(--accent); color: #fff; }

.fab-menu {
  position: absolute; top: 52px; left: 0; width: 252px; background: #fff;
  border-radius: calc(var(--radius) + 2px); padding: 10px;
  box-shadow: var(--shadow); border: var(--stroke) solid var(--ink);
  transform-origin: top left; transform: scale(0.9) translateY(-10px);
  opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease); display: flex; flex-direction: column; gap: 6px;
  max-height: calc(100vh - var(--header-offset) - 80px);
  overflow-y: auto; overscroll-behavior: contain;
}
.fab-menu::-webkit-scrollbar { width: 4px; }
.fab-menu::-webkit-scrollbar-thumb { background: rgba(0,0,0,.12); border-radius: 8px; }
.fab-container.is-open .fab-menu { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }

.fab-item {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--ink); padding: 8px; border-radius: 10px;
  transition: background 0.2s; cursor: pointer; border: 2px solid transparent;
}
.fab-item:hover { background: var(--bg); border-color: rgba(0,0,0,.05); }

.fab-icon {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  font-size: var(--f-sm); border: var(--stroke) solid var(--ink); background: #fff;
  box-shadow: 2px 2px 0 rgba(0,0,0,.9); flex-shrink: 0;
}
.fab-text h4 { font-size: var(--f-sm); font-weight: 800; }
.fab-text p  { margin-top: 2px; font-size: var(--f-xs); color: var(--muted); }

.fab-promo {
  background: var(--mint); color: var(--ink); border-radius: 11px; padding: 10px;
  display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: var(--f-sm);
  margin-top: 2px; cursor: pointer; transition: transform 0.2s;
  border: var(--stroke) solid var(--ink); box-shadow: 2px 2px 0 rgba(0,0,0,.9);
}
.fab-promo:active { transform: translate(1px,1px); }

.fab-footer {
  display: flex; justify-content: space-around;
  border-top: 2px dashed rgba(0,0,0,.08); padding-top: 8px; margin-top: 2px;
}
.fab-footer-item {
  display: flex; flex-direction: column; align-items: center; cursor: pointer;
  font-size: var(--f-xs); font-weight: 700; color: var(--muted); gap: 3px;
  transition: color 0.2s;
}
.fab-footer-item:hover { color: var(--ink); }

/* ════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: var(--stroke) solid var(--ink);
  box-shadow: var(--shadow-soft); font-weight: 700; font-size: var(--f-sm);
  cursor: pointer; user-select: none; position: relative; overflow: hidden;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
.btn:active { transform: translate(1px,1px); box-shadow: 3px 3px 0 rgba(0,0,0,.9); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #6d3cff; }
.btn--primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent);
  opacity: 0; transition: opacity .3s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { background: #fff; }
.btn--ghost:hover { background: rgba(0,0,0,.04); }
.btn--full { width: 100%; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: 999px; border: var(--stroke) solid var(--ink);
  box-shadow: var(--shadow-soft); background: #fff;
  font-weight: 700; font-size: var(--f-sm);
}
.pill.small { padding: 5px 10px; font-size: var(--f-xs); box-shadow: 2px 2px 0 rgba(0,0,0,.9); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: var(--stroke) solid var(--ink); border-radius: 999px;
  background: rgba(126,75,255,.1); padding: 8px 14px;
  box-shadow: var(--shadow-soft); font-weight: 700; font-size: var(--f-sm);
}
.badge__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 3px rgba(68,209,127,.2);
}

/* ════════════════════════════════════════════════════════
   MAIN CONTENT OFFSET
════════════════════════════════════════════════════════ */
#content { padding-top: var(--header-offset); }

/* ════════════════════════════════════════════════════════
   PRODUCT SEARCH BAR
════════════════════════════════════════════════════════ */
.product-tools { margin-top: 14px; display: flex; justify-content: flex-end; }
.searchbar {
  width: min(500px, 100%); display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; border: var(--stroke) solid var(--ink);
  background: #fff; box-shadow: var(--shadow-soft);
}
.searchbar__icon { display: grid; place-items: center; }
.searchbar input {
  border: 0; outline: none; background: transparent; flex: 1;
  font-weight: 700; font-size: var(--f-sm); color: var(--ink); min-width: 0;
}
.searchbar input::placeholder { color: rgba(0,0,0,.4); font-weight: 600; }
.searchbar__clear {
  width: 34px; height: 34px; border-radius: 999px; border: var(--stroke) solid var(--ink);
  background: rgba(0,0,0,.04); box-shadow: 2px 2px 0 rgba(0,0,0,.9);
  cursor: pointer; font-weight: 900; font-size: var(--f-base); display: none;
}
.searchbar.is-dirty .searchbar__clear { display: grid; place-items: center; }
.searchbar__clear:active { transform: translate(1px,1px); }

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.hero {
  padding: 56px 0 32px;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 32px; align-items: center;
}
.hero__title {
  font-weight: 900; letter-spacing: -.03em; line-height: 1.04;
  margin: 14px 0 14px;
  font-size: clamp(var(--f-3xl), 4.5vw, var(--f-4xl));
}
.hero__desc { color: var(--muted); font-size: var(--f-md); line-height: 1.65; max-width: 54ch; }
.hero__cta  { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero__meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 22px; }

.meta-card {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-soft); padding: 14px;
}
.meta-card__kpi { font-weight: 900; font-size: var(--f-base); }
.meta-card__sub { color: var(--muted); font-size: var(--f-sm); margin-top: 4px; }
.meta-card__bar { height: 5px; border-radius: 999px; background: var(--accent); margin-top: 12px; opacity: .85; }

.tag-stack { position: relative; width: fit-content; }
.tag-back  {
  width: 50px; height: 50px; position: absolute; left: -14px; top: 6px;
  background: var(--mint); border: var(--stroke) solid var(--ink);
  border-radius: 10px; transform: rotate(-8deg);
}
.tag {
  display: inline-block; padding: 12px 16px; font-weight: 900;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem); color: #fff;
  background: var(--accent); border: var(--stroke) solid var(--ink);
  border-radius: 12px; box-shadow: var(--shadow);
}

.hero__right { position: relative; min-height: 340px; }
.hero-illustration {
  border: var(--stroke) solid var(--ink); border-radius: calc(var(--radius) + 6px);
  background: #fff; box-shadow: var(--shadow); padding: 22px;
  position: relative; max-width: 420px; margin-left: auto; transform: rotate(-2deg);
}
.hero-illustration__label {
  position: absolute; top: -15px; right: 12px; padding: 6px 12px;
  background: var(--mint); border: var(--stroke) solid var(--ink);
  border-radius: 999px; font-weight: 700; font-size: var(--f-sm);
  box-shadow: var(--shadow-soft);
}
.hero-illustration__card {
  border: var(--stroke) solid var(--ink); border-radius: 12px;
  background: #fff; box-shadow: 4px 4px 0 rgba(0,0,0,.9); padding: 16px; min-height: 200px;
}
.hero-illustration__top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mini-chip { width: 22px; height: 14px; border-radius: 5px; border: var(--stroke) solid var(--ink); background: rgba(0,0,0,.06); }
.mini-dot  { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: var(--stroke) solid var(--ink); }
.hero-illustration__line { height: 9px; border-radius: 999px; border: var(--stroke) solid var(--ink); background: rgba(0,0,0,.04); margin-top: 12px; }
.hero-illustration__line--short { width: 70%; }
.hero-illustration__dots { display: flex; gap: 7px; margin-top: 16px; }
.dot        { width: 9px; height: 9px; border-radius: 50%; border: var(--stroke) solid var(--ink); background: #fff; }
.dot--active { background: var(--accent); }

.blob { position: absolute; border: var(--stroke) solid var(--ink); z-index: -1; }
.blob.b1 { width: 80px; height: 80px; border-radius: 50%; background: var(--sun); right: 0; top: -26px; }
.blob.b2 { width: 64px; height: 64px; border-radius: 50%; background: rgba(126,75,255,.35); left: 4px; top: 56px; }
.blob.b3 { width: 100px; height: 100px; border-radius: 24px; background: rgba(126,75,255,.35); left: -50px; bottom: -36px; transform: rotate(14deg); }

/* ════════════════════════════════════════════════════════
   LIVEBAR
════════════════════════════════════════════════════════ */
.livebar {
  border: var(--stroke) solid var(--ink); border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 28px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
}
.livebar__label  { font-weight: 700; letter-spacing: .16em; font-size: var(--f-xs); color: var(--muted); }
.livebar__digits { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.digit {
  width: 32px; height: 42px; display: grid; place-items: center;
  background: rgba(126,75,255,.15); border: var(--stroke) solid var(--ink);
  border-radius: 9px; box-shadow: 3px 3px 0 rgba(0,0,0,.9);
  font-weight: 900; font-size: var(--f-base);
}
.livebar__note { font-size: var(--f-xs); color: var(--muted); text-align: center; }

/* ════════════════════════════════════════════════════════
   SECTIONS & GRIDS
════════════════════════════════════════════════════════ */
.section { padding: 60px 0; }
.section--tint {
  background: var(--bg);
  border-top: var(--stroke) solid rgba(0,0,0,.1);
  border-bottom: var(--stroke) solid rgba(0,0,0,.1);
}

.section__title {
  font-weight: 900; letter-spacing: -.025em;
  font-size: clamp(var(--f-xl), 3vw, var(--f-2xl));
  position: relative; display: inline-block;
}
.section__title::after {
  content: ""; display: block; height: 3px; width: 60%;
  background: var(--ink); border-radius: 999px; margin-top: 10px;
}
.section__title.center { display: block; text-align: center; }
.section__title.center::after { margin-inline: auto; }

.section__lead { color: var(--muted); margin-top: 12px; font-size: var(--f-md); line-height: 1.65; max-width: 68ch; }
.section__row  { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.section__actions { margin-top: 20px; display: flex; justify-content: center; }

.grid    { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ════════════════════════════════════════════════════════
   CARDS
════════════════════════════════════════════════════════ */
.card {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; background: #fff;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 rgba(0,0,0,.88); }
.card::after {
  content: ''; position: absolute; top: -50%; left: -75%; width: 50%; height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease); pointer-events: none;
}
.card:hover::after { left: 130%; }
.card__icon  { font-size: var(--f-lg); }
.card__title { margin: 10px 0 6px; font-weight: 900; font-size: var(--f-base); }
.card__text  { color: var(--muted); font-size: var(--f-sm); line-height: 1.65; }
.card__bar   { height: 5px; border-radius: 999px; background: var(--accent); margin-top: 16px; }

/* Stats */
.stats { margin-top: 16px; }
.bigstat {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; background: #fff;
}
.bigstat__num   { font-weight: 900; font-size: var(--f-2xl); text-align: center; letter-spacing: -.02em; }
.bigstat__label { text-align: center; color: var(--muted); margin-top: 4px; font-weight: 700; font-size: var(--f-sm); }
.pill-row { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }

/* ════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════ */
.service {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); background: #fff; padding: 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 rgba(0,0,0,.88); }
.service__head  { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.service__badge {
  width: fit-content; padding: 6px 12px; border-radius: 999px;
  border: var(--stroke) solid var(--ink); background: rgba(126,75,255,.12);
  box-shadow: var(--shadow-soft); font-weight: 700; font-size: var(--f-xs);
}
.service__title { font-weight: 900; font-size: var(--f-lg); }

.checklist { list-style: none; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.checklist li { position: relative; padding-left: 26px; font-size: var(--f-sm); line-height: 1.6; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 14px; height: 14px; border-radius: 50%;
  border: var(--stroke) solid var(--ink); background: rgba(126,75,255,.16);
}

/* ════════════════════════════════════════════════════════
   STEPS
════════════════════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.step {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); background: #fff; padding: 18px;
  transition: transform .3s var(--ease);
}
.step:hover { transform: translateY(-3px); }
.step:hover .step__num { animation: stepPulse 0.6s var(--ease); }
@keyframes stepPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.14); }
  100% { transform: scale(1); }
}
.step__num {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; border: var(--stroke) solid var(--ink);
  box-shadow: var(--shadow-soft); background: rgba(255,213,74,.35);
  font-weight: 900; font-size: var(--f-base);
}
.step__title { margin: 10px 0 5px; font-weight: 900; font-size: var(--f-base); }
.step__text  { color: var(--muted); font-size: var(--f-sm); line-height: 1.6; }

/* ════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════ */
.about-logo-wrap {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 28px 0 8px;
}
.about-logo-ring {
  width: 110px; height: 110px; border-radius: 26px;
  border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0,0,0,.9), 0 0 0 7px rgba(126,75,255,.1);
  overflow: hidden; display: grid; place-items: center; background: #fff;
  animation: logoFloat 4s ease-in-out infinite; position: relative;
}
.about-logo-ring img { width: 88px; height: 88px; object-fit: contain; display: block; pointer-events: none; }
.about-logo-label { margin-top: 14px; font-weight: 900; font-size: var(--f-lg); letter-spacing: -.02em; }
.about-logo-sub   { margin-top: 4px; color: var(--muted); font-size: var(--f-sm); font-weight: 600; }

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.about__card {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); background: #fff; padding: 20px;
}
.about__title { font-weight: 900; font-size: var(--f-lg); margin-bottom: 8px; }
.about__text  { color: var(--muted); font-size: var(--f-sm); line-height: 1.65; }
.about__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.cta {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); background: rgba(126,75,255,.12); padding: 22px;
  position: relative; overflow: hidden;
}
.cta__title   { font-weight: 900; font-size: var(--f-lg); }
.cta__text    { color: rgba(0,0,0,.72); font-size: var(--f-sm); line-height: 1.65; margin-top: 8px; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.cta__blobs span { position: absolute; border: var(--stroke) solid var(--ink); opacity: .9; }
.cta__blobs span:nth-child(1) { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,213,74,.35); right: -24px; top: -24px; }
.cta__blobs span:nth-child(2) { width: 100px; height: 100px; border-radius: 26px; background: rgba(68,209,127,.22); left: -38px; bottom: -40px; transform: rotate(12deg); }
.cta__blobs span:nth-child(3) { width: 54px; height: 54px; border-radius: 20px; background: rgba(255,255,255,.5); right: 14px; bottom: 12px; }

/* ════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════ */
.faq {
  margin-top: 20px; border: var(--stroke) solid var(--ink);
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
  background: #fff; overflow: hidden; width: min(860px, 100%); margin-inline: auto;
}
.faq__item {
  width: 100%; display: grid; grid-template-columns: 38px 1fr 22px;
  gap: 12px; align-items: flex-start; padding: 16px 18px;
  border: 0; background: transparent; text-align: left; cursor: pointer;
  transition: background .15s;
}
.faq__item:hover { background: rgba(126,75,255,.03); }
.faq__item + .faq__item { border-top: 1px solid rgba(0,0,0,.12); }
.faq__q {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; border: var(--stroke) solid var(--ink);
  background: rgba(126,75,255,.2); box-shadow: var(--shadow-soft);
  font-weight: 900; font-size: var(--f-sm); flex-shrink: 0;
}
.qmark { font-weight: 900; }
.faq__title  { display: block; font-weight: 900; font-size: var(--f-base); margin-top: 2px; }
.faq__answer {
  display: block; color: var(--muted); font-size: var(--f-sm); line-height: 1.65;
  margin-top: 8px; max-height: 0; overflow: hidden;
  transition: max-height .32s var(--ease), opacity .32s var(--ease), transform .32s var(--ease);
  opacity: 0; transform: translateY(-6px);
}
.faq__chev { font-weight: 900; font-size: var(--f-md); margin-top: 4px; transition: transform .3s; }
.faq__item.is-open .faq__answer { max-height: 300px; opacity: 1; transform: translateY(0); }
.faq__item.is-open .faq__chev  { transform: rotate(45deg); }

/* ════════════════════════════════════════════════════════
   TESTIMONIAL & PROOF
════════════════════════════════════════════════════════ */
.testi-marquee {
  margin-top: 22px; overflow: hidden; border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(0,0,0,.1); background: rgba(0,0,0,.015); padding: 14px;
}
.testi-track {
  display: flex; gap: 14px; width: max-content;
  animation: marquee-left 40s linear infinite;
}
.testi-track:hover { animation-play-state: paused; }
.testi-card {
  width: 320px; border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); background: #fff; padding: 18px;
  flex: 0 0 auto; white-space: normal;
}
.testi__quote { font-style: italic; font-size: var(--f-sm); line-height: 1.6; }
.testi__user  { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.avatar {
  width: 40px; height: 40px; border-radius: 12px; border: var(--stroke) solid var(--ink);
  box-shadow: var(--shadow-soft); background: rgba(126,75,255,.22);
  display: grid; place-items: center; font-weight: 900; font-size: var(--f-base); flex-shrink: 0;
}
.testi__name { font-weight: 900; font-size: var(--f-sm); }
.testi__meta { color: var(--muted); font-size: var(--f-xs); }

.proof {
  margin-top: 20px; border: var(--stroke) solid var(--ink);
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
  background: #fff; padding: 18px;
}
.proof__head  { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.proof__title { font-weight: 900; font-size: var(--f-base); }
.proof__sub   { color: var(--muted); font-size: var(--f-sm); margin-top: 4px; }
.proof__slider { margin-top: 14px; }
.proof__marquee {
  margin-top: 14px; overflow: hidden; border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(0,0,0,.1); background: rgba(0,0,0,.015); padding: 14px;
}
.proof-row { display: flex; gap: 14px; align-items: stretch; width: max-content; will-change: transform; }
.proof-row + .proof-row { margin-top: 14px; }
.proof-card {
  width: 280px; height: 450px; border: var(--stroke) solid var(--ink);
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
  background: #fff; overflow: hidden; flex: 0 0 auto;
}
.proof-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

@keyframes marquee-left  { from { transform: translateX(0);    } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0);    } }
.proof-row.is-left  { animation: marquee-left  28s linear infinite; }
.proof-row.is-right { animation: marquee-right 30s linear infinite; }

/* ════════════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════════════ */
.gallery {
  margin-top: 16px; display: grid;
  grid-template-columns: repeat(12,1fr); gap: 14px;
}
.gallery__item {
  grid-column: span 4; border: var(--stroke) solid var(--ink);
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
  background: #fff; overflow: hidden; cursor: pointer; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery__item:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 rgba(0,0,0,.88); }
.gallery__media { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: rgba(0,0,0,.06); pointer-events: none; }
.gallery__label {
  position: absolute; left: 10px; top: 10px;
  display: inline-flex; gap: 7px; align-items: center;
  padding: 5px 10px; border-radius: 999px; border: var(--stroke) solid var(--ink);
  box-shadow: 3px 3px 0 rgba(0,0,0,.9); background: rgba(255,255,255,.92);
  font-weight: 700; font-size: var(--f-xs);
}
.gallery__label .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.gallery__meta { padding: 10px 12px 12px; color: var(--muted); font-weight: 700; font-size: var(--f-sm); }

/* ════════════════════════════════════════════════════════
   PRODUCTS
════════════════════════════════════════════════════════ */
.product-grid {
  margin-top: 18px; display: grid;
  grid-template-columns: repeat(3,1fr); gap: 16px;
}
.product {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); background: #fff; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 rgba(0,0,0,.88); }
.product.is-best { outline: 5px solid rgba(255,213,74,.55); outline-offset: 0; }
.product__body { padding: 14px; }
.product__price {
  font-weight: 900; font-size: var(--f-base); color: var(--accent); margin-top: 6px;
}
.product__price--original {
  text-decoration: line-through; color: var(--muted);
  font-size: var(--f-xs); font-weight: 700; margin-right: 5px;
}
.chip {
  padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(0,0,0,.16);
  background: rgba(0,0,0,.025); font-weight: 700; font-size: var(--f-xs);
  color: rgba(0,0,0,.72);
}
.sold { font-weight: 900; font-size: var(--f-sm); }
.sold span { color: var(--accent); }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.filter-chip {
  padding: 8px 14px; border-radius: 999px; border: var(--stroke) solid var(--ink);
  box-shadow: var(--shadow-soft); background: #fff; font-weight: 700;
  font-size: var(--f-sm); cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.filter-chip.is-active { background: rgba(126,75,255,.12); }
.filter-chip:active    { transform: translate(1px,1px); }
.filter-chip:hover:not(.is-active) { background: rgba(126,75,255,.06); transform: translateY(-2px); }

/* Product image slider */
.slider { position: relative; width: 100%; background: #fff; }
.slider__viewport { width: 100%; aspect-ratio: 1/1; overflow: hidden; border-bottom: 1px solid rgba(0,0,0,.1); }
.slider__track  { display: flex; width: 100%; height: 100%; transition: transform .35s var(--ease); }
.slider__slide  { min-width: 100%; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 11px;
  border: var(--stroke) solid var(--ink); background: #fff;
  box-shadow: var(--shadow-soft); cursor: pointer; display: grid; place-items: center;
}
.slider__btn:active { transform: translateY(-50%) translate(1px,1px); }
.slider__btn--prev { left: 8px; }
.slider__btn--next { right: 8px; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; gap: 7px; justify-content: center; }
.slider__dot  { width: 9px; height: 9px; border-radius: 50%; border: var(--stroke) solid var(--ink); background: #fff; opacity: .9; cursor: pointer; }
.slider__dot.is-active { background: var(--accent); }

/* ════════════════════════════════════════════════════════
   CONTACT & FORM
════════════════════════════════════════════════════════ */
.contact__card {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); background: #fff; padding: 20px;
}
.contact__title   { font-weight: 900; font-size: var(--f-lg); margin-bottom: 8px; }
.contact__text    { color: var(--muted); font-size: var(--f-sm); line-height: 1.65; }
.contact__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.contact__chips   { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mini-note        { margin-top: 10px; color: var(--muted); font-size: var(--f-xs); }

.form-card {
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); background: #fff; padding: 24px; margin-top: 20px;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-weight: 700; font-size: var(--f-sm);
  margin-bottom: 6px; color: var(--ink);
}
.form-input, .form-textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px;
  border: var(--stroke) solid var(--ink); background: #f8f8fc; outline: none;
  font-size: var(--f-sm); font-weight: 500; color: var(--ink);
  transition: box-shadow .2s, border-color .2s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(126,75,255,.15), 3px 3px 0 rgba(0,0,0,.9);
  background: #fff;
}
.form-textarea { min-height: 100px; resize: vertical; }

/* File upload */
.file-upload-wrapper {
  position: relative; width: 100%; border: 2px dashed rgba(0,0,0,.22);
  border-radius: 12px; background: #f8f8fc; padding: 20px 14px;
  text-align: center; cursor: pointer; transition: all .2s var(--ease); overflow: hidden;
}
.file-upload-wrapper:hover { background: rgba(126,75,255,.04); border-color: var(--accent); }
.file-upload-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2; }
.file-upload-text  { font-weight: 600; color: var(--muted); font-size: var(--f-sm); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.file-upload-icon  { font-size: 1.6rem; color: var(--accent); margin-bottom: 3px; }
.file-cancel-btn {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; border: var(--stroke) solid var(--ink);
  background: #fff; box-shadow: var(--shadow-soft); cursor: pointer;
  font-weight: 700; font-size: var(--f-xs); color: var(--pink);
  transition: transform .15s var(--ease);
}
.file-cancel-btn:hover  { background: rgba(233,30,99,.06); }
.file-cancel-btn:active { transform: translate(1px,1px); }

.spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════
   MODALS
════════════════════════════════════════════════════════ */
.modal {
  position: fixed; inset: 0; display: none; z-index: 99999;
  overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px;
  padding-top: calc(16px + env(safe-area-inset-top));
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.modal.is-open   { display: flex; align-items: center; justify-content: center; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); border: 0; }
.modal__panel {
  position: relative; width: min(980px, calc(100% - 22px)); margin: 0 auto;
  background: #fff; border: var(--stroke) solid var(--ink);
  border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
  overflow: hidden; animation: pop .25s var(--ease) both;
  max-height: calc(100dvh - 32px); display: flex; flex-direction: column;
}
.modal__panel--success { width: min(420px, 100%); text-align: center; padding: 32px 24px; }
@keyframes pop {
  from { transform: translateY(16px) scale(.98); opacity: 0; }
  to   { transform: translateY(0)    scale(1);   opacity: 1; }
}
.modal__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
  padding: 16px 18px; background: rgba(126,75,255,.08);
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.modal__kicker { font-weight: 700; letter-spacing: .16em; font-size: var(--f-xs); color: rgba(0,0,0,.55); }
.modal__title  { margin: 5px 0 0; font-weight: 900; font-size: var(--f-lg); }
.modal__body   { padding: 16px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; overscroll-behavior: contain; }
.modal__grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal__section { border: 1px solid rgba(0,0,0,.12); border-radius: var(--radius); padding: 14px; background: rgba(0,0,0,.01); }
.modal__section-title { font-weight: 900; font-size: var(--f-sm); margin-bottom: 10px; }

.summary { border: var(--stroke) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-soft); background: #fff; padding: 12px; margin-bottom: 12px; }
.summary__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 6px 0; }
.summary__row + .summary__row { border-top: 1px solid rgba(0,0,0,.1); }
.summary__label { color: var(--muted); font-weight: 700; font-size: var(--f-sm); }
.summary__value { font-weight: 900; font-size: var(--f-sm); }
.summary__value--price { color: var(--accent); font-size: var(--f-base); }

.field { margin-top: 12px; }
.label { display: block; font-weight: 700; font-size: var(--f-sm); margin-bottom: 6px; }
.input { width: 100%; padding: 10px 12px; border-radius: 12px; border: var(--stroke) solid var(--ink); background: #fff; box-shadow: var(--shadow-soft); outline: none; font-size: var(--f-sm); }
.textarea { min-height: 90px; resize: vertical; }

.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { padding: 8px 12px; border-radius: 999px; border: var(--stroke) solid var(--ink); background: #fff; box-shadow: var(--shadow-soft); font-weight: 700; font-size: var(--f-sm); cursor: pointer; }
.seg button.is-active { background: rgba(126,75,255,.12); }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab  { padding: 8px 12px; border-radius: 999px; border: var(--stroke) solid var(--ink); background: #fff; box-shadow: var(--shadow-soft); font-weight: 700; font-size: var(--f-sm); cursor: pointer; }
.tab.is-active { background: rgba(126,75,255,.12); }
.pane { display: none; margin-top: 12px; }
.pane.is-active { display: block; }

.paybox    { border: var(--stroke) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-soft); background: #fff; padding: 12px; }
.qris      { width: 100%; border-radius: 12px; border: 1px solid rgba(0,0,0,.1); }
.paybox__hint { color: var(--muted); margin-top: 8px; font-size: var(--f-sm); }
.payrow    { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.paylabel  { color: var(--muted); font-weight: 700; font-size: var(--f-xs); }
.payvalue  { font-weight: 900; font-size: var(--f-sm); }
.paybig    { margin-top: 8px; font-size: var(--f-xl); font-weight: 900; letter-spacing: -.01em; }
.paymini   { color: var(--muted); margin-top: 3px; font-size: var(--f-xs); }
.copy      { padding: 8px 12px; border-radius: 12px; border: var(--stroke) solid var(--ink); background: rgba(68,209,127,.18); box-shadow: var(--shadow-soft); font-weight: 700; font-size: var(--f-sm); cursor: pointer; }
.copy:active { transform: translate(1px,1px); }
.confirm   { margin-top: 12px; }
.confirm__note { color: var(--muted); margin-top: 8px; font-size: var(--f-xs); }

.icon-btn {
  width: 42px; height: 42px; border: var(--stroke) solid var(--ink); border-radius: 12px;
  background: var(--paper); box-shadow: var(--shadow-soft); cursor: pointer;
  display: grid; place-items: center;
}
.icon-btn:active { transform: translate(1px,1px); }

.modal__panel--media { width: min(960px, calc(100% - 22px)); }
.modal__body--media  { padding: 0; background: #0c0c0c; }
.media-view { padding: 14px; }
.media-view img, .media-view video {
  width: 100%; height: auto; border-radius: 16px;
  border: var(--stroke) solid rgba(255,255,255,.2); pointer-events: none;
}

/* ════════════════════════════════════════════════════════
   SALES TOAST
════════════════════════════════════════════════════════ */
.sales-toast {
  position: fixed; bottom: 24px; left: 24px; z-index: 9998;
  background: #fff; border: var(--stroke) solid var(--ink);
  border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; max-width: 320px;
  transform: translateY(150%) scale(0.9); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease); pointer-events: none;
}
.sales-toast__icon { font-size: 1.4rem; background: rgba(126,75,255,.12); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: var(--stroke) solid var(--ink); flex-shrink: 0; }
.sales-toast.is-visible { transform: translateY(0) scale(1); opacity: 1; }
.sales-toast__text { font-size: var(--f-xs); color: var(--ink); line-height: 1.45; }
.sales-toast__time { font-size: var(--f-xs); color: var(--muted); margin-top: 3px; font-weight: 700; }

/* ════════════════════════════════════════════════════════
   BACK TO TOP
════════════════════════════════════════════════════════ */
.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 50px; height: 50px;
  border-radius: 50%; border: var(--stroke) solid var(--ink);
  background: var(--sun); box-shadow: var(--shadow-soft); cursor: pointer;
  display: grid; place-items: center; z-index: 998;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.to-top.is-show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ════════════════════════════════════════════════════════
   FOOTER — Dark Professional
════════════════════════════════════════════════════════ */
.footer { background: var(--ink); color: #fff; border-top: 2px solid rgba(255,255,255,.04); }

.footer__top {
  padding: 36px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand-block { max-width: 520px; }
.footer__brand-block .brand__text { color: #fff; font-size: var(--f-base); }
.footer__brand-block .brand__icon { border-color: rgba(255,255,255,.2); box-shadow: 3px 3px 0 rgba(0,0,0,.5); }

.footer__desc {
  color: rgba(255,255,255,.55); margin: 12px 0 16px;
  font-size: var(--f-sm); line-height: 1.65; max-width: 46ch;
}
.footer__desc strong { color: rgba(255,255,255,.88); }

.footer__meta-row { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--f-xs); font-weight: 700; padding: 5px 12px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.7);
}
.footer__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 1.5s infinite; }
.footer__badge-pill--accent { border-color: rgba(126,75,255,.45); background: rgba(126,75,255,.16); color: #c4b5fd; }

.footer__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr;
  padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__col { padding: 0 22px 0 0; border-right: 1px solid rgba(255,255,255,.05); }
.footer__col:first-child { padding-left: 0; }
.footer__col:last-child  { border-right: none; padding-left: 22px; padding-right: 0; }

.footer__title { margin: 0 0 14px; font-weight: 800; font-size: var(--f-xs); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.footer__col a {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.6); margin-bottom: 8px;
  font-weight: 600; font-size: var(--f-sm);
  transition: color .2s, transform .2s; text-decoration: none;
}
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__link-icon { font-size: var(--f-sm); flex-shrink: 0; }

.footer__contact-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.footer__contact-item { display: flex; align-items: center; gap: 8px; font-size: var(--f-sm); font-weight: 600; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer__contact-item:hover { color: #fff; }
.footer__contact-item--plain { cursor: default; }
.footer__contact-item--plain:hover { color: rgba(255,255,255,.6); }
.footer__contact-icon { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; }
.footer__contact-icon--wa    { background: rgba(37,211,102,.18); color: #25d366; }
.footer__contact-icon--email { background: rgba(126,75,255,.18); color: #a78bfa; }
.footer__contact-icon--time  { background: rgba(255,213,74,.12);  color: #fbbf24; }

.footer__payment-label { font-size: var(--f-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 8px; }
.footer__payment-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.footer__pay-pill { font-size: var(--f-xs); font-weight: 700; padding: 4px 9px; border-radius: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.6); }
.footer__pay-pill--accent { background: rgba(126,75,255,.22); border-color: rgba(126,75,255,.38); color: #c4b5fd; }

.footer__bottom { padding: 14px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer__copy { font-size: var(--f-xs); color: rgba(255,255,255,.3); font-weight: 600; }
.footer__bottom-links { display: flex; align-items: center; gap: 8px; font-size: var(--f-xs); font-weight: 600; }
.footer__bottom-links a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer__bottom-links a:hover { color: #fff; }
.footer__sep { color: rgba(255,255,255,.18); }

/* ════════════════════════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slider__track { transition: none; }
  .modal__panel { animation: none; }
  .about-logo-ring { animation: none; }
  .stripe { animation: none; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — TABLET ≤ 980px
════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .hero              { grid-template-columns: 1fr; padding-top: 30px; }
  .hero__right       { min-height: 260px; }
  .hero-illustration { margin-inline: auto; }
  .hero__meta        { grid-template-columns: 1fr; }
  .grid--3           { grid-template-columns: 1fr; }
  .grid--2           { grid-template-columns: 1fr; }
  .steps             { grid-template-columns: 1fr 1fr; }
  .product-grid      { grid-template-columns: repeat(2,1fr); }
  .modal__grid       { grid-template-columns: 1fr; }
  .gallery__item     { grid-column: span 6; }
  .footer__grid      { grid-template-columns: 1fr 1fr; }
  .footer__col       { padding: 14px 18px 14px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.05); }
  .footer__col:last-child { padding-left: 0; border-bottom: none; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 560px
════════════════════════════════════════════════════════ */
@media (max-width: 560px) {
  :root {
    --f-xs:   0.72rem;
    --f-sm:   0.82rem;
    --f-base: 0.94rem;
    --f-md:   1rem;
  }
  .container    { width: min(var(--max), calc(100% - 28px)); }
  .tag          { font-size: 1.5rem; }
  .digit        { width: 28px; height: 40px; }
  .brand__text  { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; }
  #preloader       { padding: 16px; }
  .preloader__card { padding: 16px 14px 14px; }
  .preloader__percent { font-size: 1.9rem; text-align: center; }
  .preloader__hint { text-align: center; }
  .preloader__shapes .s1 { width: 100px; height: 100px; }
  .preloader__shapes .s2 { width:  90px; height:  90px; }
  .preloader__shapes .s3 { width: 110px; height:  80px; }
  .steps        { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery__item { grid-column: span 12; }
  .gallery__media { aspect-ratio: 1/1; }
  .proof-card { width: 70vw; height: calc(70vw * 1.55); }
  .blob { display: none !important; }
  .sales-toast { bottom: 80px; left: 14px; right: auto; max-width: calc(100vw - 28px); }
  .fab-container { left: 14px; top: calc(var(--header-offset) + 10px); }
  .fab-menu { width: 234px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col  { padding: 12px 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 5px; }
  .footer__bottom-links { flex-wrap: wrap; }
}

/* =================== GLOBAL SCROLLBAR (MODERN) =================== */
html{
  scrollbar-width: thin;
  scrollbar-color: rgba(126,75,255,0.55) rgba(255,255,255,0.06);
}
::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-track{ background: rgba(255,255,255,0.04); }
::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, rgba(126,75,255,0.75), rgba(68,209,127,0.45));
  border-radius: 999px;
  border: 2px solid rgba(15,15,18,0.35);
}
::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(180deg, rgba(126,75,255,0.88), rgba(68,209,127,0.62));
}