/* Layout: terang & lapang — kanvas putih, garis hairline, biru brand sebagai satu-satunya aksen kuat. */
:root {
  --bg: #ffffff;
  --bg-2: #f6f8fb;
  --surface: #ffffff;
  --line: #e7eaf0;
  --line-2: #d5dae3;
  --text: #0e1525;
  --muted: #545d70;
  --dim: #8a92a3;
  --accent: #0c5eff;
  --accent-soft: rgba(12, 94, 255, .07);
  --accent-ring: rgba(12, 94, 255, .2);
  --brand: #0c5eff;
  --brand-hover: #004ce0;
  --orange: #e8661a;
  --orange-soft: rgba(254, 124, 42, .1);
  --orange-ring: rgba(254, 124, 42, .28);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 21, 37, .04), 0 8px 24px -12px rgba(14, 21, 37, .1);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 500 15px/1 var(--sans); white-space: nowrap;
  border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -10px rgba(12, 94, 255, .55); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: var(--bg); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; margin-top: 8px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.nav.scrolled { background: rgba(255, 255, 255, .88); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.glow {
  position: absolute; inset: -25% -15% auto auto; width: 860px; height: 860px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(12, 94, 255, .09), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg);
  font-size: 13px; color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.hero h1 { margin-top: 24px; font-size: clamp(42px, 6vw, 72px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.01em; }
.lead { margin-top: 22px; max-width: 520px; font-size: 18px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats dt { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.hero-stats dd { margin: 2px 0 0; font-size: 13px; color: var(--dim); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.sec-head h2, .contact h2 { margin-top: 14px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; }
.sec-head > p:last-child:not(.kicker), .muted { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* Stores */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.store { display: flex; flex-direction: column; gap: 10px; padding: 32px; background: var(--bg); transition: background .25s; }
.store:hover { background: var(--bg-2); }
.store-area { font-family: var(--serif); font-size: 34px; font-style: italic; color: var(--accent); line-height: 1; }
.store h3 { margin-top: 14px; font-size: 22px; }
.store p { color: var(--muted); font-size: 15px; }
.store a { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 500; color: var(--accent); }
.store a:hover { text-decoration: underline; }


/* ---------- Daftar belanja (hero) ---------- */
.list-card {
  position: relative; padding: 28px 28px 24px; border: 1px solid var(--line-2); border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 40px 100px -40px rgba(12, 94, 255, .3), 0 12px 32px -16px rgba(14, 21, 37, .16);
  transform: rotate(1.2deg);
}
.list-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 18px 18px 0 0;
  background: repeating-linear-gradient(90deg, var(--brand) 0 22px, var(--orange) 22px 30px);
}
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.list-head span { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.1; }
.list-head small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.list { list-style: none; margin: 6px 0 0; padding: 0; }
.list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.list i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-style: normal; font-size: 12px; color: #fff; background: var(--brand); }
.list li.svc i { background: var(--orange); }
.list em { font-style: normal; font-size: 12px; color: var(--dim); white-space: nowrap; }
.list-foot { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- Kategori ---------- */
.cat-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.cat-group { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cat-group:first-child { grid-row: span 2; }
.cat-group header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.cat-group h3 { font-size: 20px; }
.cat-group header span { font-size: 13px; color: var(--accent); font-weight: 500; white-space: nowrap; }
.cats { list-style: none; margin: 0; padding: 0; }
.cats li { display: grid; grid-template-columns: minmax(150px, 38%) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cats li:last-child { border-bottom: 0; padding-bottom: 0; }
.cats b { font-weight: 600; }
.cats span { color: var(--muted); }

/* ---------- Merek ---------- */
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands li { display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); height: 104px; padding: 18px 20px; background: var(--bg); transition: background .2s; }
.brands li:hover { background: var(--bg-2); }
.brands img { width: auto; height: auto; max-width: 100%; max-height: 56px; object-fit: contain; }
.brands-more { margin-top: 20px; font-size: 15px; color: var(--muted); }
.brands-note { margin-top: 24px; font-size: 15px; color: var(--muted); }
.brands-note b { color: var(--text); font-weight: 600; }

/* ---------- Layanan ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.svc-card h3 { font-size: 18px; }
.svc-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.member {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  margin-top: 32px; padding: 36px; border-radius: 20px; border: 1px solid var(--accent-ring);
  background: radial-gradient(120% 140% at 100% 0%, rgba(12, 94, 255, .1), transparent 60%), var(--surface);
}
.member h3 { margin-top: 10px; font-size: 28px; }
.member p:not(.kicker) { margin-top: 10px; color: var(--muted); max-width: 520px; }
.member .chips { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--bg); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.contact-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row span { color: var(--dim); }
.contact-row strong { font-weight: 500; text-align: right; }
.contact-row a { color: var(--accent); font-weight: 500; text-align: right; word-break: break-all; }

/* Footer */
.footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg-2); font-size: 14px; color: var(--dim); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner img { height: 24px; width: auto; }
.footer a:hover { color: var(--text); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.list-card.reveal.in { transform: rotate(1.2deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .list-card, .list-card.reveal.in { transform: none; }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .cat-groups { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cat-group:first-child { grid-row: auto; }
  .member { padding: 28px 22px; }
  .wrap { padding-inline: 18px; }
  .nav-links { display: none; }
  .hero { padding: 40px 0 72px; }
  .section { padding: 80px 0; }
  .stores, .contact, .member { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 24px; }
}
@media (max-width: 480px) {
  .services { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .brands li { height: 88px; padding: 14px; }
  .brands img { max-height: 46px; }
  .cats li { grid-template-columns: 1fr; gap: 2px; }
  .nav .btn-sm { padding: 0 12px; font-size: 13px; }
  .brand img { height: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .btn { transition: none; }
}
