@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;
  }
}

/* ==========================================
   INTERACTIVE NASABAH CTA SECTION STYLES
   ========================================== */
.nasabah-cta-section {
  padding: 60px 8% 80px;
  background: white;
}

.nasabah-cta-card {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #0f5132 100%);
  border-radius: 28px;
  padding: 45px 50px;
  color: white;
  box-shadow: 0 20px 45px rgba(4, 120, 87, 0.25);
  border: 2px solid rgba(52, 211, 153, 0.3);
  position: relative;
  overflow: hidden;
}

.nasabah-cta-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.nasabah-cta-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 14px;
}

.nasabah-cta-header h2 span {
  color: #34d399;
  background: linear-gradient(135deg, #34d399, #a7f3d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nasabah-cta-header p {
  font-size: 16px;
  color: #d1fae5;
  line-height: 1.65;
  max-width: 880px;
  margin-bottom: 30px;
}

/* RT SELECTOR BOX */
.rt-selector-box {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 30px;
}

.rt-selector-box h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #a7f3d0;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rt-grid-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.rt-select-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.rt-select-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  border-color: #34d399;
}

.rt-select-card.active {
  background: rgba(52, 211, 153, 0.2);
  border-color: #34d399;
  box-shadow: 0 8px 20px rgba(52, 211, 153, 0.25);
}

.rt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.rt-badge {
  background: #34d399;
  color: #064e3b;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
}

.check-icon {
  color: #34d399;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.rt-select-card.active .check-icon {
  opacity: 1;
}

.rt-select-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin: 0 0 4px;
}

.rt-select-card p {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0 0 8px;
}

.rt-time {
  font-size: 12px;
  color: #6ee7b7;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ACTIONS BAR */
.nasabah-cta-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-info-pill {
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 14px;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-info-pill i {
  color: #f59e0b;
}

.cta-buttons-wrapper {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-register-nasabah-hero {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  padding: 16px 30px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
}

.btn-register-nasabah-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.5);
}

.btn-contact-rt-hero {
  background: white;
  color: #064e3b;
  border: none;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.btn-contact-rt-hero:hover {
  background: #ecfdf5;
  transform: translateY(-3px);
  color: #047857;
}

@media (max-width: 768px) {
  .nasabah-cta-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .nasabah-cta-header h2 {
    font-size: 24px;
  }

  .rt-grid-selector {
    grid-template-columns: 1fr;
  }

  .nasabah-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons-wrapper {
    flex-direction: column;
  }

  .btn-register-nasabah-hero, .btn-contact-rt-hero {
    width: 100%;
    justify-content: center;
  }
}

/* CUSTOM MODAL OVERLAY STYLES */
.ecosmart-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: none; /* Hide completely from DOM flow when not active */
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ecosmart-modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ecosmart-modal-card {
  background: white;
  width: 100%;
  max-width: 540px;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.ecosmart-modal-overlay.active .ecosmart-modal-card {
  transform: translateY(0);
}

.ecosmart-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ecosmart-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.modal-header-box {
  margin-bottom: 24px;
}

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

.modal-header-box p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 4px;
}

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

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

.modal-form-group input, .modal-form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14.5px;
  outline: none;
  transition: var(--transition);
}

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

.pos-rt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.pos-rt-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pos-rt-item h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--forest);
  margin: 0 0 2px;
}

.pos-rt-item p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
}

.btn-wa-direct {
  background: #25d366;
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-wa-direct:hover {
  background: #1da851;
}