:root {
  --bg: #ffffff;
  --primary-900: #0b3b63; /* biru tua */
  --primary-500: #0ea5e9; /* biru cerah */
  --accent: #facc15; /* kuning */
  --muted: #6b7280;
  --surface: #f8fafc;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(11, 59, 99, 0.08);
  --glass: rgba(255, 255, 255, 0.6);
  --maxw: 1100px;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    Inter,
    Poppins,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  color: var(--primary-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

.container {
  width: 92%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.7)
  );
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(11, 59, 99, 0.04);
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
}
.logo {
  font-weight: 700;
  color: var(--primary-900);
  text-decoration: none;
  font-size: 1.05rem;
}
.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--primary-900);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
}
.nav-links a:hover,
.nav-links a:focus {
  background: var(--surface);
}
.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}
.btn:focus {
  outline: 3px solid rgba(14, 165, 233, 0.18);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--primary-900);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  transition: transform 0.18s var(--ease);
}
.btn-secondary {
  background: var(--primary-500);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-500);
  color: var(--primary-500);
}
.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--primary-900);
}
.btn-sm {
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
}
.btn-lg {
  padding: 0.85rem 1.2rem;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  border-radius: 8px;
}
.hamburger {
  width: 22px;
  height: 2px;
  background: var(--primary-900);
  display: block;
  position: relative;
}
.hamburger:before,
.hamburger:after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--primary-900);
}
.hamburger:before {
  top: -6px;
}
.hamburger:after {
  top: 6px;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
}
.badge {
  display: inline-block;
  background: linear-gradient(
    90deg,
    rgba(14, 165, 233, 0.12),
    rgba(250, 204, 21, 0.08)
  );
  color: var(--primary-900);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
}
.lead {
  color: var(--muted);
  margin-bottom: 1rem;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.hero-features {
  display: flex;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}
.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-mockup {
  display: flex;
  justify-content: center;
}
.mockup-card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 0.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 59, 99, 0.04);
}
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}
.mockup-title {
  font-weight: 700;
  color: var(--primary-900);
}
.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.progress {
  height: 8px;
  background: #eef2f6;
  border-radius: 999px;
  width: 140px;
  overflow: hidden;
}
.progress .bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-900));
  border-radius: 999px;
}
.stats {
  display: flex;
  gap: 0.6rem;
}
.stats .num {
  font-weight: 700;
  color: var(--primary-900);
  font-size: 1.1rem;
}

/* STATS */
.stats {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem 0;
}
.stats .stat {
  background: var(--surface);
  padding: 1rem;
  border-radius: 12px;
  flex: 1;
  text-align: center;
  box-shadow: 0 6px 14px rgba(2, 6, 23, 0.04);
}
.stats .stat h3 {
  margin: 0;
  font-size: 1.2rem;
}

/* PROGRAM CARDS */
.program .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 59, 99, 0.04);
}
.card-icon {
  font-size: 1.4rem;
  color: var(--primary-500);
  margin-bottom: 0.6rem;
}
.card h3 {
  margin: 0 0 0.4rem;
}
.card p {
  color: var(--muted);
  margin: 0 0 0.8rem;
}
.card .btn-sm {
  background: transparent;
  border: 1px solid rgba(11, 59, 99, 0.06);
  color: var(--primary-900);
}
.card:hover {
  transform: translateY(-6px);
  transition: transform 0.22s var(--ease);
}

/* HOW */
.how .steps {
  display: flex;
  gap: 1rem;
}
.step {
  background: var(--surface);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--primary-500);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* PRICING */
.pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.price-card {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 59, 99, 0.04);
}
.price-card.popular {
  border: 2px solid var(--primary-500);
  transform: scale(1.02);
}
.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-900);
}
.price-badge {
  background: linear-gradient(90deg, var(--primary-500), var(--primary-900));
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.6rem;
}

/* FEATURES GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.feature-grid div {
  background: var(--surface);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
}

/* DASHBOARD PREVIEW */
.dashboard-preview {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.mini-cards {
  display: flex;
  gap: 0.6rem;
  margin: 0.6rem 0;
}
.mini-card {
  background: #fff;
  padding: 0.6rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* TESTIMONIALS */
.testi-slider {
  position: relative;
  display: flex;
  align-items: center;
}
.slides {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  width: 100%;
}
.slide {
  min-width: 100%;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.slider-btn {
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-900);
}

/* FAQ Accordion */
.accordion .item {
  margin-bottom: 0.6rem;
}
.accordion .q {
  width: 100%;
  text-align: left;
  padding: 0.8rem;
  border-radius: 8px;
  background: var(--surface);
  border: 0;
  cursor: pointer;
}
.accordion .a {
  padding: 0.6rem 0.8rem;
  color: var(--muted);
  display: none;
}

/* CTA */
.cta {
  padding: 2rem 0;
  text-align: center;
}

/* FOOTER */
.site-footer {
  background: #0b2540;
  color: #fff;
  padding: 2rem 0;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.footer-grid h4,
h3 {
  color: #fff;
}
.socials a {
  color: #fff;
  margin-right: 0.5rem;
}

#back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: var(--primary-900);
  color: #fff;
  border: 0;
  padding: 0.6rem 0.7rem;
  border-radius: 999px;
  display: none;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-panel {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }
  .program .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .container {
    width: 94%;
  }
  .program .cards {
    grid-template-columns: 1fr;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  #back-to-top {
    right: 0.6rem;
    bottom: 0.6rem;
  }
}

/* small accessibility tweaks */
a:focus {
  outline: 3px solid rgba(14, 165, 233, 0.18);
  outline-offset: 2px;
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* minor utilities */
.text-center {
  text-align: center;
}

/* END */
