/* assets/css/landing.css */

:root{
  --success-custom:#198754;
  --success-custom-dark:#157347;
}

body.landing-page{
  overflow-x: hidden;
  background:#fff;
}

/* antisipasi svg/gambar bikin halaman melebar */
.landing-page img,
.landing-page svg{
  max-width: 100%;
  height: auto;
  display: block;
}

.bg-success-custom { background: var(--success-custom) !important; }
.text-success-custom { color: var(--success-custom) !important; }

.btn-success-custom{
  background: var(--success-custom) !important;
  border-color: var(--success-custom) !important;
  color:#fff !important;
}
.btn-success-custom:hover{
  background: var(--success-custom-dark) !important;
  border-color: var(--success-custom-dark) !important;
}

/* ===== LOGO NAVBAR (badge seperti referensi) ===== */
.brand-badge{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-shrink: 0;
}

.brand-logo{
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain;
  display: block;
}

/* jaga-jaga rule global img agar logo tetap kecil */
.landing-page img.brand-logo{
  max-width: 24px !important;
}

/* ===== HERO ===== */
.hero-section{
  padding: 78px 0;
  background: linear-gradient(180deg, rgba(25,135,84,0.10) 0%, rgba(255,255,255,1) 65%);
}
.hero-section h1{
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
}

.hero-card{
  background:#fff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  max-width: 620px;
  margin-left: auto;
}
.hero-card-top{
  display:flex;
  gap: 12px;
  align-items:center;
}

/* kotak ikon kecil di hero-card (kotak merah) */
.hero-logo{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(25,135,84,0.12);
  color: var(--success-custom);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 22px;
}

/* ===== LOGO DI HERO-CARD (ganti icon jadi logo) ===== */
.hero-logo.hero-logo--img{
  overflow: hidden;
}
.hero-logo-img{
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain;
  display: block;
}

.hero-illus{
  border-radius: 16px;
  overflow: hidden;
}
.hero-card-bottom{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.pill{
  font-size: 13px;
  background: rgba(25,135,84,0.10);
  color: #0f5132;
  padding: 8px 10px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  gap: 8px;
}

/* ===== METRICS ===== */
.hero-metrics{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
}
.metric{
  flex: 1 1 240px;
  display:flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}
.metric-icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(25,135,84,0.12);
  color: var(--success-custom);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
}
.metric-title{ font-weight: 700; line-height: 1.1; }
.metric-desc{ font-size: 13px; color:#6c757d; }

/* ===== ABOUT + FEATURE ===== */
.icon-bubble{
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(25,135,84,0.12);
  color: var(--success-custom);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 26px;
}
.feature-box{
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  display:flex;
  align-items:center;
  gap: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

/* ===== STEP ===== */
.step-card{
  background:#fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 16px;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.step-no{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(25,135,84,0.12);
  color: var(--success-custom);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.footer-landing{
  background:#111;
  color:#fff;
  padding: 18px 0;
}

/* Responsive: kartu kanan tidak kepotong */
@media (max-width: 992px){
  .hero-card{
    margin-left: 0;
    max-width: 100%;
  }
}
