/* MONITORING PAGE CUSTOM STYLES */

/* HERO SECTION */
.hero {
  padding: 80px 8%;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text {
  flex: 1.2;
  text-align: left;
}

.hero .badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-dark);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 30px;
}

.hero button {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

.hero-icon {
  width: 280px;
  height: 280px;
  min-width: 280px;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
  animation: floating 4s ease-in-out infinite;
}

.hero-icon i {
  font-size: 120px;
  color: var(--primary);
}

/* SIMULASI BANNER */
.simulation {
  max-width: 1200px;
  margin: 35px auto 15px;
  padding: 20px 28px;
  background: white;
  border-left: 6px solid var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  border-left-width: 6px;
  border-left-color: var(--primary);
}

.simulation i {
  font-size: 28px;
  color: var(--primary);
}

.simulation strong {
  color: var(--forest);
  font-size: 17px;
  display: block;
}

.simulation p {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

/* STATISTIK GRID */
.statistik {
  padding: 40px 8%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  max-width: 1300px;
  margin: 0 auto;
}

.stat-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.stat-card i {
  font-size: 32px;
  color: var(--primary);
  background: var(--primary-light);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.stat-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 4px;
}

.stat-card p {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

/* DASHBOARD GRID */
.dashboard-grid {
  padding: 20px 8%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
}

.box {
  background: white;
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.box:hover {
  box-shadow: var(--shadow-md);
}

.box h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

canvas {
  max-height: 280px;
}

/* PROGRESS BAR */
.progress {
  width: 100%;
  height: 24px;
  background: var(--primary-light);
  border-radius: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 20px;
  transition: width 1.5s ease-in-out;
}

.target-info {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 15px;
}

.target-info strong {
  color: var(--forest);
  font-size: 17px;
}

/* AKTIVITAS */
.activity div {
  padding: 18px 22px;
  border-left: 4px solid var(--primary);
  background: var(--bg-main);
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.activity div:hover {
  background: #f0fdf4;
  transform: translateX(4px);
}

.activity strong {
  color: var(--forest);
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.activity p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 14px;
}

/* INSIGHT */
.insight {
  margin: 40px auto 70px;
  max-width: 1200px;
  padding: 40px;
  background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.insight h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.insight p {
  line-height: 1.8;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 6%;
  }

  .hero-text { text-align: center; }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* MOBILE RESPONSIVE FIT (IPHONE 12 PRO & SMARTPHONES) */
@media (max-width: 600px) {
  .hero {
    padding: 40px 16px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .hero p {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .hero button {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }

  .hero-icon {
    width: 180px;
    height: 180px;
    min-width: 180px;
  }

  .hero-icon i {
    font-size: 80px;
  }

  .simulation {
    flex-direction: column;
    text-align: center;
    padding: 16px 14px;
    margin: 20px 12px 10px;
    gap: 8px;
  }

  .statistik {
    padding: 25px 16px;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .stat-card {
    padding: 20px 12px;
    border-radius: 18px;
  }

  .stat-card h3 {
    font-size: 24px;
  }

  .dashboard-grid {
    padding: 10px 16px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .box {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .box h2 {
    font-size: 18px;
  }

  .insight {
    padding: 24px 18px;
    margin: 30px 12px 50px;
    border-radius: 20px;
  }

  .insight h2 {
    font-size: 20px;
  }

  .insight p {
    font-size: 14px;
    line-height: 1.6;
  }
}