/* ngejual.com — landing page. Palet diambil dari pandiva.id (ngejual): */
:root {
  --orange: #ff7a1a;
  --orange-dark: #c2540a;
  --orange-subtle: #fff3ea;
  --navy: #14122b;
  --canvas: #f8fafc;
  --card: #ffffff;
  --text: #0b1c30;
  --muted: #45464d;
  --line: #e4e7ee;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--orange-subtle); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--muted); }

/* Tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.4rem; border-radius: 12px;
  font: 700 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .card-link:focus-visible, a:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(255, 122, 26, .6); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: var(--line); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-dark); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--orange-subtle); }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--orange-dark); }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block; padding: .35rem .8rem; border-radius: 999px;
  background: var(--orange-subtle); color: var(--orange-dark);
  font-size: .8rem; font-weight: 700; margin-bottom: 1.25rem;
}
.accent { color: var(--orange); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: 0; color: var(--muted); font-size: .9rem; font-weight: 600; }
.trust li::before { content: "✓ "; color: var(--orange); }

/* Visual chat */
.hero-visual { display: flex; justify-content: center; }
.chat {
  width: min(360px, 100%); padding: 1.1rem; border-radius: 22px;
  background: #e5ddd5; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .6rem;
}
.bubble {
  max-width: 85%; padding: .7rem .9rem; border-radius: 12px;
  background: #fff; font-size: .9rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.bubble.out { align-self: flex-end; background: #dcf8c6; }
.bubble.in { align-self: flex-start; }
.bubble.done { border-left: 4px solid #16a34a; }
.pay {
  display: block; margin-top: .45rem; padding: .35rem .6rem; border-radius: 8px;
  background: var(--orange-subtle); color: var(--orange-dark); font-weight: 700; font-size: .8rem; text-align: center;
}

/* Kartu produk */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--orange-subtle); font-size: 1.4rem; margin-bottom: 1rem;
}
.card-link { color: var(--orange-dark); font-weight: 700; text-decoration: none; margin-top: .5rem; }
.card-link:hover { text-decoration: underline; }

/* Langkah */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: none; }
.steps li {
  background: #fff; border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--line);
}
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-no {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; margin-bottom: .9rem;
}

/* CTA band */
.cta-band { background: var(--navy); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .25rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; color: #c7cbe0; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer-grid a { display: block; text-decoration: none; color: var(--text); margin-bottom: .4rem; font-weight: 500; }
.footer-grid a:hover { color: var(--orange-dark); }
.footer-grid .muted { font-size: .95rem; margin-top: .75rem; max-width: 36ch; }
.copy {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid var(--line); padding: 1.1rem 0; color: var(--muted); font-size: .85rem;
}

/* Responsif */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .nav .btn-sm { padding: .55rem .8rem; font-size: .8rem; }
}
