/* =================== BRAND TOKENS =================== */
:root{
  /* Palette */
  --primary:#548C2F;
  --primary-dark:#104911;
  --accent-1:#F9A620;
  --accent-2:#FFD449;
  --info:#A8D5E2;

  --ink:#111827;     /* teks utama */
  --muted:#6B7280;   /* teks sekunder */
  --white:#FFFFFF;
  --soft:#F9FAFB;    /* section-soft */

  /* UI */
  --radius:18px;
  --shadow:0 8px 24px rgba(0,0,0,.08);

  /* Heading */
  --heading:#104911;
}

/* =================== BASE =================== */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;
  font-weight:400; /* hanya 400 & 600 */
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
}
h1,h2,h3,h4,h5,h6{
  color:var(--heading);
  font-weight:600;
  margin:0 0 .6em;
  line-height:1.25;
}
p{ margin:0 0 1em; color:var(--muted) }
strong{ font-weight:600; color:var(--ink) }
.container{ width:min(1140px,92vw); margin:0 auto }

/* =================== HEADER =================== */
.site-header{
  position:sticky; top:0; z-index:1000;
  background:var(--white);
  border-bottom:1px solid #E5E7EB;
  box-shadow:0 2px 10px rgba(0,0,0,.03);
}
.nav-grid{
  display:grid;
  grid-template-columns:auto 1fr auto; /* brand | spacer | nav/hamburger */
  align-items:center; gap:12px; padding:12px 0;
}
.brand{ color:var(--primary-dark); font-weight:600; font-size:18px; letter-spacing:.2px }
.nav{ display:flex; gap:18px; align-items:center; justify-self:end }
.nav a{ color:var(--ink); text-decoration:none; font-weight:600 }
.nav a:hover{ text-decoration:underline }
.btn-blog{
  background:var(--primary);
  color:var(--white) !important;
  padding:10px 14px;
  border-radius:999px;
  box-shadow:var(--shadow);
  text-decoration:none;
}
.btn-blog:hover{ background:var(--primary-dark) }

/* Hamburger */
.nav-toggle{
  width:28px; height:22px; display:none;
  flex-direction:column; justify-content:center; align-items:center;
  background:none; border:0; padding:0; cursor:pointer;
}
.nav-toggle span{
  display:block; width:100%; height:2.5px; background:#1F2937; border-radius:2px;
  transition:transform .25s ease, opacity .2s ease;
}
/* X animation */
.nav-toggle.active span:nth-child(1){ transform: translateY(7px) rotate(45deg) }
.nav-toggle.active span:nth-child(2){ opacity:0 }
.nav-toggle.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg) }

/* Mobile layout */
@media (max-width:720px){
  .nav-grid{ grid-template-columns:48px 1fr 48px }
  .brand{ grid-column:2; justify-self:center }
  .nav-toggle{ grid-column:3; justify-self:end; display:flex }

  /* Menu panel — hidden by height/opacity */
  .nav{
    position:fixed; left:0; right:0; top:56px; z-index:120;
    background:var(--white); border-top:1px solid #E5E7EB;
    padding:12px 16px; flex-direction:column; gap:12px;
    max-height:0; overflow:hidden; opacity:0; visibility:hidden; pointer-events:none;
    transition:max-height .28s ease, opacity .2s ease;
  }
  .nav.open{ max-height:60vh; opacity:1; visibility:visible; pointer-events:auto }
}

/* =================== HERO =================== */
.hero{ padding:88px 0 56px; background:linear-gradient(180deg,#FFFFFF 0%, #F9FAFB 100%) }
.hero-grid{ display:grid; grid-template-columns:2fr 1fr; gap:32px; align-items:center }
@media (max-width:960px){ .hero-grid{ grid-template-columns:1fr } }

.mini-badge{
  display:inline-block; padding:8px 12px; border-radius:999px; font-size:12px; font-weight:600;
  border:1px solid #F2C94C33;
}
.badge-info{ background:var(--info); color:var(--ink) }
.badge-warn{ background:var(--accent-2); color:var(--ink) }

.hero h1 .brand-accent{ color:var(--primary-dark); font-weight:600 }
.hero h1 .link-accent{ color:var(--primary-dark); font-weight:600 }
.blink{ animation:blink 1.4s linear infinite both }
@keyframes blink{ 0%,100%{opacity:1} 45%{opacity:.35} 55%{opacity:1} }

.hero-visual{ display:flex; justify-content:center; align-items:center }
.phone-mock{ width:100%; max-width:320px; filter:drop-shadow(0 20px 40px rgba(0,0,0,.06)) }

/* =================== BUTTONS =================== */
.btn{
  display:inline-block; padding:14px 20px; border-radius:999px; text-decoration:none;
  font-weight:600; box-shadow:var(--shadow);
  transition:transform .15s ease, background .2s ease, color .2s ease;
}
.btn-primary{ background:var(--primary); color:var(--white) }
.btn-primary:hover{ background:var(--primary-dark); transform:translateY(-2px) }

.btn-accent{ background:var(--accent-1); color:var(--ink) }
.btn-accent:hover{ background:#e39312; transform:translateY(-2px) }

.btn-ghost{ background:var(--white); color:var(--ink); border:1px solid #E5E7EB }
.btn-ghost:hover{ background:#F3F4F6 }

.btn-on-gradient{ background:var(--white); color:var(--primary-dark); border:1px solid #E5E7EB }
.btn-on-gradient:hover{ transform:translateY(-2px) }

/* =================== ABOUT =================== */
.section-soft{ background:var(--soft) }
.about{ padding:56px 0 }
.about-grid{ display:grid; grid-template-columns:1fr 2fr; gap:28px; align-items:flex-start }
@media (max-width:960px){ .about-grid{ grid-template-columns:1fr } }
.h3{ font-size:22px }
.checklist{ list-style:none; padding:0; margin:0; display:grid; gap:12px }
.checklist li{
  background:var(--white); border:1px solid #E5E7EB;
  padding:12px 14px; border-radius:var(--radius); font-size:15px; color:var(--ink);
  box-shadow:var(--shadow);
}

/* =================== APPS =================== */
.apps{ padding:56px 0; background:var(--white) }
.apps h2{ text-align:center; margin:0 0 22px }
.cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px }
@media (max-width:1040px){ .cards{ grid-template-columns:repeat(2,1fr) } }
@media (max-width:560px){ .cards{ grid-template-columns:1fr } }

.card{
  background:var(--white); border:1px solid #E5E7EB; border-radius:var(--radius);
  box-shadow:var(--shadow); padding:18px; display:flex; flex-direction:column; gap:10px;
}
.card-icon{ font-size:28px }
.card h3{ margin:2px 0 4px; font-size:20px }
.card p{ margin:0 0 10px }

/* =================== HOW =================== */
.how{ padding:56px 0 }
.how h2{ text-align:center; margin:0 0 18px }
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px }
@media (max-width:960px){ .steps{ grid-template-columns:1fr } }

.step{
  background:var(--white); border:1px solid #E5E7EB; border-radius:var(--radius);
  box-shadow:var(--shadow); padding:18px;
}
.step-number{
  width:36px; height:36px; display:grid; place-items:center;
  border-radius:999px; font-weight:600; margin-bottom:8px;
  background:var(--info); color:var(--ink);
}

/* =================== BENEFITS =================== */
.benefits{ padding:56px 0; background:linear-gradient(180deg,#FFFFFF 0%, #F9FAFB 100%) }
.benefits h2{ text-align:center; margin:0 0 16px }
.benefit-list{
  width:min(880px,96%); margin:0 auto; list-style:none; padding:0; display:grid; gap:10px
}
.benefit-list li{
  background:var(--white); border:1px solid #E5E7EB; border-radius:var(--radius);
  padding:12px 14px; color:var(--muted); box-shadow:var(--shadow)
}
.benefit-list li strong{ color:var(--ink) }

/* =================== CTA FINAL =================== */
.cta-final{
  padding:60px 0; text-align:center;
  background:linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.cta-final-inner{ width:min(760px,92%); margin:0 auto }
.cta-final h2,
.cta-final p{
  color:var(--white);
}
.cta-final p{ margin:0 0 18px }

/* =================== FOOTER =================== */
.site-footer{ background:var(--primary-dark); color:#D1FAE5; padding:18px 0; font-size:14px }
.footer-grid{ display:grid; grid-template-columns:1fr auto; align-items:center; gap:10px }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; text-align:center } }
.footer-contact a{ color:#ECFDF5; text-decoration:none }
.footer-contact a:hover{ text-decoration:underline }

/* =================== UTILS =================== */
section{ margin:0 }
