:root {
  --l-bg: #f8fafc;
  --l-surface: #ffffff;
  --l-ink: #0f172a;
  --l-muted: #475569;
  --l-border: #e2e8f0;
  --l-primary: #2563eb;
  --l-primary-dark: #1d4ed8;
  --l-accent: #f59e0b;
  --l-success: #16a34a;
  --l-radius: 16px;
  --l-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--l-bg);
  color: var(--l-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.l-container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Header Mobile-First */
.l-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--l-border);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.l-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.l-brand__logo {
  height: 36px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.l-brand__sub {
  display: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--l-muted);
  border-left: 1px solid var(--l-border);
  padding-left: 10px;
}

@media (min-width: 640px) {
  .l-brand__logo {
    height: 42px;
    max-width: 205px;
  }
  .l-brand__sub {
    display: inline-block;
  }
}

.l-nav {
  display: none;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--l-muted);
}

.l-nav a {
  text-decoration: none;
}

.l-nav a:hover {
  color: var(--l-primary);
}

.l-header__cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Buttons */
.l-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.l-btn:hover {
  transform: translateY(-1px);
}

.l-btn--primary {
  background: var(--l-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24);
}

.l-btn--primary:hover {
  background: var(--l-primary-dark);
}

.l-btn--secondary {
  background: var(--l-surface);
  color: var(--l-ink);
  border-color: var(--l-border);
}

.l-btn--wa {
  background: var(--l-success);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.22);
}

.l-btn--sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.86rem;
}

/* Hero Section */
.l-hero {
  padding: 36px 0 40px;
  background: radial-gradient(circle at top right, #dbeafe 0%, #f8fafc 58%);
  border-bottom: 1px solid var(--l-border);
}

.l-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.l-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: var(--l-primary);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.l-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4.4vw, 2.85rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.l-hero__lead {
  margin: 0 0 22px;
  font-size: 1.04rem;
  color: var(--l-muted);
}

.l-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.l-trust-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.l-trust-item {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--l-border);
  border-radius: 12px;
  padding: 10px 12px;
}

.l-trust-item strong {
  display: block;
  font-size: 1rem;
  color: var(--l-ink);
}

.l-trust-item span {
  font-size: 0.8rem;
  color: var(--l-muted);
}

/* Mockup Visual di Hero */
.l-hero-visual {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--l-shadow);
}

.l-hero-visual__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--l-border);
  font-size: 0.82rem;
  color: var(--l-muted);
}

.l-lego-stack {
  display: grid;
  gap: 10px;
}

.l-lego-block {
  border: 1px dashed #93c5fd;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.l-lego-block strong {
  display: block;
  font-size: 0.9rem;
}

.l-lego-block small {
  color: var(--l-muted);
}

.l-pill-on {
  background: #dcfce7;
  color: #166534;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Sections */
.l-section {
  padding: 48px 0;
}

.l-section--alt {
  background: #ffffff;
  border-top: 1px solid var(--l-border);
  border-bottom: 1px solid var(--l-border);
}

.l-section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.l-section__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.l-section__head p {
  margin: 0;
  color: var(--l-muted);
}

/* Grid Umum */
.l-grid-3,
.l-grid-2,
.l-template-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.l-card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.l-card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

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

/* Filter & Katalog Template */
.l-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 18px;
  justify-content: flex-start;
}

.l-filter-btn {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--l-border);
  background: var(--l-surface);
  color: var(--l-muted);
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
  cursor: pointer;
}

.l-filter-btn.is-active {
  background: var(--l-ink);
  color: #ffffff;
  border-color: var(--l-ink);
}

.l-tpl-card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.l-tpl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--l-shadow);
}

.l-tpl-card__banner {
  padding: 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.l-tpl-card__logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px;
  flex-shrink: 0;
}

.l-tpl-card__banner strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.l-tpl-card__banner span {
  font-size: 0.78rem;
  opacity: 0.9;
}

.l-tpl-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.l-tpl-card__tagline {
  margin: 0;
  font-size: 0.88rem;
  color: var(--l-ink);
  font-weight: 600;
}

.l-tpl-card__desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--l-muted);
}

.l-tpl-card__actions {
  margin-top: auto;
  padding-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* Paket Harga / Perbandingan */
.l-pricing-card {
  position: relative;
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.l-pricing-card--featured {
  border: 2px solid var(--l-primary);
  box-shadow: var(--l-shadow);
}

.l-popular-tag {
  align-self: flex-start;
  background: var(--l-accent);
  color: #111827;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.l-pricing-list {
  margin: 0;
  padding-left: 18px;
  color: var(--l-muted);
  font-size: 0.92rem;
  display: grid;
  gap: 6px;
}

/* FAQ Native Accordion */
.l-faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.l-faq-item {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: 12px;
  padding: 14px 16px;
}

.l-faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.l-faq-item p {
  margin: 10px 0 0;
  color: var(--l-muted);
  font-size: 0.92rem;
}

/* Closing CTA */
.l-closing {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #ffffff;
  border-radius: 20px;
  padding: 32px 22px;
  text-align: center;
}

.l-closing h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.l-closing p {
  margin: 0 auto 20px;
  max-width: 620px;
  color: #cbd5e1;
}

.l-closing__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.l-footer {
  padding: 24px 0 86px;
  text-align: center;
  color: var(--l-muted);
  font-size: 0.86rem;
}

/* Sticky Mobile CTA Bar */
.l-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #ffffff;
  border-top: 1px solid var(--l-border);
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.1);
}

/* Responsive Breakpoints (Mobile-First) */
@media (min-width: 640px) {
  .l-hero__actions,
  .l-closing__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .l-trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .l-template-grid,
  .l-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .l-tpl-card__actions {
    grid-template-columns: 1fr 1fr;
  }
  .l-filter-bar {
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .l-nav {
    display: flex;
  }
  .l-hero {
    padding: 56px 0 60px;
  }
  .l-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }
  .l-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .l-template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .l-footer {
    padding-bottom: 36px;
  }
  .l-mobile-bar {
    display: none;
  }
}
