*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:'Arial',sans-serif
}

body{
  background:#f5f7fb;
  color:#1f2937;
  overflow-x:hidden;
}

::-webkit-scrollbar{width:0}

/* ================= CONTAINER ================= */
.container{
  width:100%;
  max-width:1200px;
  margin:auto;
  padding:0 24px;
}

.section{
  padding:80px 0;
}

.section h2{
  font-size:24px;
  margin-bottom:35px;
  font-weight:600;
  text-align:center;
}

/* ================= NAVBAR ================= */
.navbar{
  position:fixed;
  top:0;
  width:100%;
  background:rgba(17,24,39,.92);
  backdrop-filter:blur(10px);
  z-index:1000;
  padding:14px 40px;
}

.nav-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.nav-logo{
  width:45px;
  height:45px;
  object-fit:contain;
  overflow:hidden;
  background:transparent;
}

.nav-right a{
  position: relative;
  padding-bottom: 6px;
}

.nav-right a.active{
  color: #fff;
}

.nav-right a.active::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #38bdf8;
  border-radius: 2px;
}

.nav-left{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
}

.nav-left i{
  font-size:24px;
  color:#38bdf8;
}

.brand-main{
  font-weight:700;
  font-size:18px;
}

.brand-sub{
  font-size:11px;
  opacity:.7;
}

.nav-right{
  display:flex;
  gap:24px;
}

.nav-right a{
  color:#e5e7eb;
  text-decoration:none;
  font-weight:500;
  font-size:14px;
  transition:.2s;
}

.nav-right a:hover{
  color:#fff;
}

@media (max-width: 768px){
  .navbar{
    padding-left: 10px;
    padding-right: 10px;
  }
  .nav-container{
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* ================= HERO ================= */
.hero{
  min-height:100vh;
  padding-top:100px;
  display:flex;
  align-items:center;
  color:#fff;
  position:relative;
  overflow:hidden;
  padding-left:40px;
  padding-right:40px;
  padding-bottom:80px;

  background: linear-gradient(
    -45deg,
    #004461,   /* biru */
    #007a5a,   /* hijau */
    #08497c,   /* purple */
    #075769
  );

  background-size: 400% 400%;
  animation: waveGradient 15s ease infinite;
}

@keyframes waveGradient{
  0%{
    background-position: 0% 50%;
  }
  50%{
    background-position: 100% 50%;
  }
  100%{
    background-position: 0% 50%;
  }
}


.hero::before{
  content:"";
  position:absolute;
  top:-50%;
  left:-50%;
  width:200%;
  height:200%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.10), transparent 60%);
  animation: waterFlow 25s linear infinite;
  z-index:0;
}

.hero > *{
  position:relative;
  z-index:2;
}

@keyframes waterFlow{
  0%{ transform: rotate(0deg); }
  100%{ transform: rotate(360deg); }
}


.hero-flex{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:60px;
}


@media(max-width:900px){
  .hero-left .bs24{
    font-size: 25px;
  }
  .hero-desc{
    text-align: justify;
  }
  .hero{
    padding-left:5px;
    padding-right:5px;
  }

  .tujuan-item{
    align-items:flex-start;
  }
} 

/* ================= CHART SECTION ================= */
#statistik-chart{
  padding-top:20px;
}
.chart-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
  margin-top:40px;
}

.chart-card{
  padding:20px;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
  text-align:center;
  transition:.3s ease;
}

.chart-card:hover{
  transform:translateY(-4px);
}

.chart-card h4{
  font-size:14px;
  margin-bottom:15px;
  font-weight:600;
  color:#374151;
}

/* perkecil ukuran canvas */
.chart-card canvas{
  max-height:220px !important;
}

.hero-left{
  flex:1;
}

.hero-left h1{
  font-size:35px;
  margin-bottom:20px;
  font-weight:700;
}

.hero-desc{
  font-size:15px;
  line-height:1.7;
  opacity:.9;
  margin-bottom:30px;
  max-width:520px;
}

.hero-tujuan{
  margin-bottom:30px;
}

.hero-tujuan h3{
  margin-bottom:18px;
  font-size:18px;
}

.tujuan-item{
  display:flex;
  gap:12px;
  margin-bottom:14px;
}

.hero-tujuan h3{
  text-align:left;
}

.tujuan-item{
  display:flex;
  gap:12px;
  margin-bottom:14px;
  align-items:flex-start;
  text-align:left;
}

.tujuan-item p{
  text-align:left;
  line-height:1.6;
  margin:0;
}

@media(max-width:900px){
  .hero-tujuan{
    text-align:left;
  }

  .tujuan-item{
    justify-content:flex-start;
  }

  .tujuan-item p{
    text-align:left;
  }

}

.check-icon{
  min-width:26px;
  height:26px;
  border-radius:50%;
  background:#38bdf8;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#0f172a;
  font-size:13px;
}

.tujuan-item p{
  font-size:14px;
  line-height:1.6;
}

.btn{
  display:inline-block;
  padding:12px 26px;
  border-radius:999px;
  background:#38bdf8;
  color:#0f172a;
  font-weight:600;
  text-decoration:none;
  transition:.3s;
}

.btn:hover{
  background:#fff;
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(0,0,0,.3);
}

/* ================= FORM ================= */
.hero-right{
  flex:1;
  display:flex;
  justify-content:flex-end;
  margin-top:30px; /* atur sesuai selera */
}

.register-card{
  background:#fff;
  padding:20px 10px;
  border-radius:5px;
  width:100%;
  max-width:380px;
  box-shadow:0 25px 50px rgba(0,0,0,.25);
}

.register-card h3{
  text-align:center;
  margin-bottom:18px;
  color:#003e5c;
}

.register-card input,
.register-card select{
  width:100%;
  padding:10px 12px;
  margin-bottom:8px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  font-size:13px;
}

.register-card input:focus,
.register-card select:focus{
  outline:none;
  border-color:#0ea5c6;
  box-shadow:0 0 0 2px rgba(14,165,198,.2);
}

.register-card button{
  width:100%;
  padding:12px;
  border:none;
  border-radius:12px;
  background:linear-gradient(135deg,#005f8a,#0ea5c6);
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}

.register-card button:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 30px rgba(0,0,0,.3);
}

.form-login-text{
  text-align:center;
  margin-top:10px;
  font-size:12px;
  color:#6b7280;
}

.form-login-text a{
  display:inline-block;
  margin-left:6px;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(37,99,235,.08);
  color:#2563eb;
  font-weight:600;
  text-decoration:none;
  transition:.3s ease;
}

.form-login-text a:hover{
  background:#2563eb;
  color:#fff;
  transform:translateY(-2px);
}

/* ================= PASSWORD FIELD ================= */
.password-wrapper{
  position:relative;
  width:100%;
}

.password-wrapper input{
  width:100%;
  padding-right:42px;
}

.toggle-password{
  position:absolute;
  right:14px;
  top:45%;
  transform:translateY(-50%);
  cursor:pointer;
  color:#94a3b8;
  font-size:15px;
  transition:.2s ease;
}

.toggle-password:hover{
  color:#006eb3;
}
/* ================= CHECKBOX GLOBAL ================= */
input[type="checkbox"]{
  accent-color:#006eb3;
  width:16px;
  height:16px;
  cursor:pointer;
}

/* ================= PROGRAM TRIGGER ================= */
.program-trigger{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #ddd;
  background:#fff;
  color: #333;
  cursor:pointer;
  margin-bottom:12px;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition:.2s ease;
}

.program-trigger:hover{
  border-color:#0284c7;
}

/* ================= PROGRAM POPUP OVERLAY ================= */
.popup-content h4{
  margin:0 0 14px;
  text-align:center;
  font-size:15px;
  font-weight:600;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.popup-note{
  font-size:11px;
  font-weight:400;
  color:#64748b;
}

.program-popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
}

/* ================= POPUP BOX ================= */
.popup-content{
  background:#fff;
  width:92%;
  max-width:380px;
  border-radius:5px;
  padding:10px;
  max-height:100vh;
  display:flex;
  flex-direction:column;
  box-shadow:0 25px 50px rgba(0,0,0,.25);
  animation:popupFade .25s ease;
}

@keyframes popupFade{
  from{transform:translateY(10px);opacity:0}
  to{transform:translateY(0);opacity:1}
}

.popup-content h4{
  margin:0 0 14px;
  text-align:center;
  font-size:15px;
  font-weight:600;
  color: #333;
}

.popup-content h4 span{
  color: #333;
}

/* ================= LIST STYLE (RAPI SEPERTI TABEL) ================= */
.popup-list{
  border:1px solid #e2e8f0;
  border-radius:12px;
  overflow:hidden;
  flex:1;
  color: #333;
  overflow-y:auto;
}

/* HEADER ROW OPSIONAL */
.popup-header-row{
  display:grid;
  grid-template-columns:24px 1fr;
  padding:8px 12px;
  font-size:12px;
  font-weight:600;
  background:#f1f5f9;
  border-bottom:1px solid #e2e8f0;
}
/* ITEM ROW */
.popup-item{
  display:flex;      
  align-items:center; 
  gap:10px;
  padding:10px 12px;
  background:#fff;
  border-bottom:1px solid #e2e8f0;
  cursor:pointer;
  font-size:13px;
  transition:.2s ease;
}

.popup-item:last-child{
  border-bottom:none;
}

.popup-item:hover{
  background:#f8fafc;
}

.popup-item input[type="checkbox"]{
  margin:0; 
  flex-shrink:0;  
}

.popup-item span{
  text-align:left;
  line-height:1.2;  
}


/* ================= POPUP FOOTER ================= */
.popup-footer{
  margin-top:14px;
}

.popup-footer button{
  width:100%;
  padding:10px;
  border:none;
  border-radius:10px;
  background:#006eb3;
  color:#fff;
  font-weight:600;
  font-size:13px;
  cursor:pointer;
  transition:.2s ease;
}

.popup-footer button:hover{
  background:#005b94;
}



/* ================= STAT CARD ================= */
#statistik{
  padding-top:45px;
}

#statistik h2{
  padding-bottom:25px;
}

.stats-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:24px;
}

.stat-card{
  padding:26px;
  border-radius:18px;
  color:#fff;
  box-shadow:0 18px 40px rgba(0,0,0,.15);
  transition:.3s ease;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.stat-card:hover{
  transform:translateY(-6px);
}

.stat-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.stat-icon{
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.18);
  font-size:20px;
}

.stat-card h1{
  font-size:38px;
  margin:0;
  font-weight:700;
}

.stat-card span{
  font-size:15px;
  font-weight:600;
}

.stat-card small{
  font-size:13px;
  opacity:.9;
}

/* Gradient warna */
.stat-card.blue{
  background:linear-gradient(135deg,#2563eb,#60a5fa);
}

.stat-card.purple{
  background:linear-gradient(135deg,#7c3aed,#a78bfa);
}

.stat-card.green{
  background:linear-gradient(135deg,#059669,#34d399);
}

.stat-card.orange{
  background:linear-gradient(135deg,#ea580c,#fb923c);
}

/* ================= FEATURE ================= */
#fitur-unggulan{
  padding-top:5px;
}

#fitur-unggulan h2{
  padding-bottom:20px;
}
.feature-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:24px;
}

.feature-card{
  background:#ffffff;
  padding:28px 24px;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  transition:.3s ease;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  height:100%;
}

.feature-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 45px rgba(0,0,0,.1);
}

/* TOP HEADER */
.feature-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}

.feature-icon{
  width:52px;
  height:52px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  color:#fff;
}

/* TEXT */
.feature-card h4{
  font-size:16px;
  font-weight:600;
  margin:0;
}

.feature-card p{
  font-size:14px;
  line-height:1.6;
  color:#6b7280;
}

/* COLOR VARIANT */
.feature-card.blue .feature-icon{
  background:linear-gradient(135deg,#2563eb,#60a5fa);
}

.feature-card.purple .feature-icon{
  background:linear-gradient(135deg,#7c3aed,#a78bfa);
}

.feature-card.green .feature-icon{
  background:linear-gradient(135deg,#059669,#34d399);
}

.feature-card.orange .feature-icon{
  background:linear-gradient(135deg,#ea580c,#fb923c);
}

/* ================= FOOTER ================= */
footer{
  background:#111827;
  color:#9ca3af;
  padding:18px 40px;
  font-size:12px;
}

.footer-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.admin-login-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(56,189,248,.1);
  color:#38bdf8;
  text-decoration:none;
  font-weight:500;
  transition:.3s ease;
}

.admin-login-btn:hover{
  background:#38bdf8;
  color:#0f172a;
  transform:translateY(-2px);
}

/* HANYA TAMPIL DI LAPTOP */
@media (max-width: 991px){
  .footer-right{
    display:none;
  }
}

/* ================= RESPONSIVE ================= */
@media(max-width:900px){
  .hero-flex{
    flex-direction:column;
    text-align:center;
  }

  .hero-right{
    justify-content:center;
  }

  .nav-right{
    display:none;
  }

}

@media(max-width:480px){
  .hero{
    padding-top:100px;
    min-height:auto;
    padding-bottom:60px;
  }

  .register-card{
    max-width:100%;
  }

}

@media (max-width: 480px){
  .container{
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero{
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-right{
    width: 100%;
    justify-content: center;
  }

  .register-card{
    max-width: 100%;
    width: 100%;
    padding: 30px 16px;
    border-radius: 5px;
  }
}

@media (max-width: 768px){
  .navbar{
    padding-left:10px;
    padding-right:10px;
  }
  #fitur-unggulan{
    margin-top:10px;
  }
  .feature-cards{
    margin-top:-20px;
  }
  #statistik-chart{
    margin-top: -20px;
  }
}
