/* MyCerdika — situs landing statis. Warna: biru solid + motif titik, tanpa gradasi. */
:root {
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-100: #dbeafe;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.5;
}

a { text-decoration: none; }

.container { max-width: 72rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }

/* Motif titik halus (bukan gradasi) */
.motif-dots-light {
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.motif-dots-dark {
  background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1.5px);
  background-size: 22px 22px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.brand { display: flex; align-items: center; gap: 0.625rem; min-width: 0; }
.brand-logo { height: 2.25rem; width: 2.25rem; border-radius: 0.5rem; object-fit: contain; background: var(--blue-600); }
.brand-fallback {
  height: 2.25rem; width: 2.25rem; border-radius: 0.5rem; background: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0;
}
.brand-name { font-size: 1.125rem; font-weight: 800; color: var(--blue-700); white-space: nowrap; }
.main-nav { display: none; }
.main-nav a { font-size: 0.875rem; font-weight: 600; color: var(--slate-700); padding: 0.25rem 0; }
.main-nav a:hover { color: var(--blue-700); }
.header-actions { display: none; }
.menu-toggle {
  height: 2.5rem; width: 2.5rem; border-radius: 0.75rem; border: 1px solid var(--slate-200);
  background: var(--white); color: var(--slate-700); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu { border-top: 1px solid var(--slate-200); padding: 0.75rem 1rem 1rem; background: var(--white); }
.mobile-menu a { display: block; padding: 0.5rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--slate-700); }
.mobile-menu a:hover { background: var(--slate-50); }
.mobile-actions { display: flex; gap: 0.5rem; padding-top: 0.5rem; }
.mobile-actions .btn { flex: 1; justify-content: center; }

/* Tombol */
.btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  height: 2.5rem; padding: 0 1rem; border-radius: 0.75rem;
  font-size: 0.875rem; font-weight: 700; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.15s ease;
}
.btn-lg { height: 3rem; padding: 0 1.5rem; font-size: 1rem; }
.btn-outline { border-color: var(--slate-200); color: var(--slate-700); background: var(--white); }
.btn-outline:hover { background: var(--slate-50); }
.btn-amber { background: var(--amber-500); color: var(--white); }
.btn-amber:hover { background: var(--amber-600); }
.btn-white { background: var(--white); color: var(--blue-700); }
.btn-white:hover { background: var(--blue-100); }

/* Hero */
.hero { background: var(--blue-600); color: var(--white); }
.hero-inner { text-align: center; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 9999px; background: var(--blue-700); padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 700; color: var(--blue-100);
}
.hero h1 { margin: 1.25rem 0 0; font-size: 1.875rem; line-height: 1.2; font-weight: 800; }
.hero-sub { margin: 1rem auto 0; max-width: 42rem; font-size: 1rem; line-height: 1.6; color: var(--blue-100); }
.hero-ctas { margin-top: 1.75rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.hero-ctas .btn { width: 100%; justify-content: center; }
.hero-note { margin: 1rem 0 0; font-size: 0.75rem; color: var(--blue-100); }

/* Statistik */
.stats { background: var(--white); border-bottom: 1px solid var(--slate-200); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; text-align: center; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.stat-num { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--blue-700); }
.stat-label { margin: 0; font-size: 0.75rem; font-weight: 500; color: var(--slate-500); }

/* Bagian umum */
.section { padding-top: 3rem; padding-bottom: 3rem; scroll-margin-top: 5rem; }
.section-alt { background: var(--slate-50); }
.section-title { margin: 0; text-align: center; font-size: 1.5rem; font-weight: 800; color: var(--slate-900); }
.section-sub { margin: 0.5rem auto 0; text-align: center; font-size: 0.875rem; color: var(--slate-500); max-width: 42rem; }
.section-title-light { color: var(--white); }
.section-sub-light { color: var(--blue-100); }

/* Kartu modul */
.card-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }.card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 1rem; padding: 1.25rem; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.card-icon {
  height: 2.75rem; width: 2.75rem; border-radius: 0.75rem; background: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; color: var(--white);
}
.card h3 { margin: 0.75rem 0 0; font-size: 1rem; font-weight: 700; color: var(--slate-900); }
.card p { margin: 0.25rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--slate-500); }

/* Lencana kecil (mis. "Ready!" pada integrasi) — solid, tanpa gradasi */
.badge-ready {
  display: inline-block; vertical-align: middle;
  background: #059669; color: var(--white);
  font-size: 0.625rem; font-weight: 800; letter-spacing: 0.04em;
  border-radius: 9999px; padding: 0.125rem 0.5rem; margin-left: 0.375rem;
}

/* Keunggulan */
.why-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.why-card { display: flex; gap: 1rem; border: 1px solid var(--slate-200); background: var(--slate-50); border-radius: 1rem; padding: 1.25rem; }
.why-card .card-icon { flex-shrink: 0; }
.why-card h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--slate-900); }
.why-card p { margin: 0.25rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--slate-500); }

/* Langkah */
.steps { background: var(--blue-700); color: var(--white); }
.steps-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.step-card { background: var(--blue-800); border-radius: 1rem; padding: 1.25rem; text-align: center; }
.step-num {
  margin: 0 auto; height: 2.75rem; width: 2.75rem; border-radius: 9999px; background: var(--amber-500);
  display: flex; align-items: center; justify-content: center; font-size: 1.125rem; font-weight: 800; color: var(--white);
}
.step-card h3 { margin: 0.75rem 0 0; font-size: 1rem; font-weight: 700; }
.step-card p { margin: 0.25rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--blue-100); }
.steps-cta { margin-top: 2rem; text-align: center; }

/* Footer */
.site-footer { background: var(--slate-900); color: var(--slate-400); }
.footer-grid { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand-row { display: flex; align-items: center; gap: 0.625rem; }
.brand-fallback-footer { background: var(--blue-600); color: var(--white); }
.footer-name { font-size: 1.125rem; font-weight: 800; color: var(--white); }
.footer-brand p { margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--slate-400); max-width: 24rem; }
.footer-col { font-size: 0.875rem; }
.footer-heading { margin: 0; font-weight: 700; color: var(--white); }
.footer-col a { display: block; margin-top: 0.375rem; color: var(--slate-400); }
.footer-col a:hover { color: var(--white); }
.footer-text { margin: 0.5rem 0 0; line-height: 1.6; max-width: 20rem; }
.footer-bottom { border-top: 1px solid var(--slate-800); padding-top: 1.25rem; padding-bottom: 1.25rem; text-align: center; font-size: 0.75rem; color: var(--slate-500); }

/* Desktop */
@media (min-width: 768px) {
  .main-nav { display: flex; align-items: center; gap: 1.5rem; }
  .header-actions { display: flex; align-items: center; gap: 0.5rem; }
  .menu-toggle, .mobile-menu { display: none; }
  .hero-inner { padding-top: 5rem; padding-bottom: 5rem; }
  .hero h1 { font-size: 3rem; }
  .hero-sub { font-size: 1.125rem; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .hero-ctas .btn { width: auto; }
  .hero-note { font-size: 0.875rem; }
  .stat-num { font-size: 1.875rem; }
  .stat-label { font-size: 0.875rem; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .section-title { font-size: 1.875rem; }
  .section-sub { font-size: 1rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
