@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700&display=swap');

/* BANK SAMPAH CUSTOM STYLES */

/* HERO SECTION */
.hero {
  padding: 90px 8%;
  text-align: center;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #f8fafc 100%);
  position: relative;
}

.hero-text {
  max-width: 850px;
  margin: 0 auto;
}

.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: 50px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 24px;
}

.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: 720px;
  margin: 0 auto 35px;
}

.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-image {
  margin: 40px auto 0;
  width: 140px;
  height: 140px;
  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-image i {
  font-size: 64px;
  color: var(--primary);
}

/* SECTION GLOBAL TITLES */
.title {
  text-align: center;
  margin-bottom: 40px;
}

.title h1, .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  color: var(--forest);
  margin-bottom: 14px;
}

.title p, .section-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 650px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* PENGERTIAN BANK SAMPAH */
.pengertian-section {
  padding: 80px 8%;
  background: white;
}

.pengertian-box {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 45px;
  border: 1px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.pengertian-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  color: var(--forest);
  margin-bottom: 18px;
}

.pengertian-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.pilar-list {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pilar-item {
  background: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--forest);
  box-shadow: var(--shadow-sm);
}

.pilar-item i {
  color: var(--primary);
  font-size: 20px;
}

.pengertian-visual {
  background: var(--forest);
  color: white;
  padding: 36px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.pengertian-visual i {
  font-size: 64px;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.pengertian-visual h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  margin-bottom: 12px;
}

.pengertian-visual p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* MANFAAT BANK SAMPAH */
.manfaat-section {
  padding: 80px 8%;
  background: var(--bg-main);
}

.manfaat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 45px;
}

.manfaat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.manfaat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.manfaat-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 22px;
}

.manfaat-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.manfaat-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* CARA MEMILAH SAMPAH (INTERACTIVE STEP TABS MATCHING REFERENCE SCREENSHOT) */
.pilah-interactive-section {
  padding: 80px 8%;
  background: white;
}

.pilah-step-container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 45px auto 0;
  align-items: stretch;
}

.step-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-tab {
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step-tab:hover {
  border-color: var(--primary-light);
  transform: translateX(4px);
}

.step-tab.active {
  border: 2px solid var(--primary);
  background: #f0fdf4;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.step-num {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.step-tab.active .step-num {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

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

/* STEP PANEL (RIGHT COLUMN) */
.step-panel {
  background: white;
  border-radius: var(--radius-lg);
  padding: 45px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.step-panel.panel-animating {
  opacity: 0.4;
  transform: scale(0.98);
}

.panel-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 24px;
}

.step-panel h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  color: var(--forest);
  margin-bottom: 16px;
}

.step-panel p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.panel-tip {
  background: #f0fdf4;
  border: 1px solid var(--primary-light);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  color: var(--forest);
  font-size: 14px;
  line-height: 1.6;
}

.panel-tip i {
  color: var(--primary);
  margin-right: 6px;
}

/* CARA KERJA BANK SAMPAH */
.cara-kerja {
  padding: 80px 8%;
  background: var(--bg-main);
}

.cara-container {
  max-width: 950px;
  margin: 45px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cara-card {
  background: white;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
}

.cara-card:hover {
  transform: translateX(12px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.number {
  min-width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.cara-card h3 {
  color: var(--forest);
  font-size: 20px;
  margin-bottom: 8px;
}

.cara-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* KALKULATOR BANK SAMPAH */
.calculator-section {
  padding: 80px 8%;
  background: white;
}

.calc-box {
  max-width: 1000px;
  margin: 40px auto 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--primary-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-inputs h3 {
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #cbd5e1;
  font-size: 15px;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.calc-results {
  background: var(--forest);
  color: white;
  border-radius: var(--radius-md);
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-results h3 {
  font-size: 18px;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.res-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.res-card span {
  font-size: 13px;
  color: #94a3b8;
  display: block;
}

.res-card strong {
  font-size: 26px;
  font-weight: 700;
  color: #5eead4;
}

@media (max-width: 900px) {
  .pilah-step-container {
    grid-template-columns: 1fr;
  }

  .pengertian-box {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .calc-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 16px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .pilah-interactive-section, .pengertian-section, .manfaat-section, .cara-kerja, .calculator-section {
    padding: 50px 16px;
  }

  .pilah-step-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-tab {
    padding: 14px 16px;
    gap: 12px;
  }

  .step-num {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 16px;
  }

  .step-panel {
    padding: 24px 18px;
  }

  .step-panel h2 {
    font-size: 22px;
  }

  .pengertian-box, .calc-box {
    padding: 20px 16px;
  }

  .pengertian-text h2 {
    font-size: 24px;
  }

  .cara-card {
    padding: 20px 16px;
    gap: 14px;
  }

  .number {
    min-width: 42px;
    height: 42px;
    font-size: 18px;
  }
}