@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');

:root {
  --primary: #2E7D32;
  --primary-dark: #1b5e20;
  --primary-light: #e8f5e9;
  --tech-blue: #1565C0;
  --tech-blue-light: #e3f2fd;
  --forest: #0d3b14;
  --bg-main: #F5F7F6;
  --card-bg: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(46, 125, 50, 0.12);
  --shadow-lg: 0 20px 35px -10px rgba(46, 125, 50, 0.2);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* COMPREHENSIVE DARK MODE OVERRIDES */
body.dark-mode {
  --bg-main: #090d16;
  --card-bg: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --forest: #6EE7B7;
  --primary-light: rgba(16, 185, 129, 0.2);
  --tech-blue-light: rgba(59, 130, 246, 0.2);
  background-color: #090d16 !important;
  color: #f8fafc !important;
}

body.dark-mode header {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid #334155 !important;
}

body.dark-mode .logo h2 {
  color: #34d399 !important;
}

body.dark-mode nav a {
  color: #cbd5e1 !important;
}

body.dark-mode nav a:hover,
body.dark-mode nav a.active {
  color: #34d399 !important;
}

body.dark-mode nav a.active::after {
  background: #34d399 !important;
}

body.dark-mode .dropdown-trigger {
  color: #cbd5e1 !important;
}

body.dark-mode .dropdown-menu {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .dropdown-menu a {
  color: #f8fafc !important;
}

body.dark-mode .dropdown-menu a:hover {
  background: #334155 !important;
  color: #34d399 !important;
}

body.dark-mode .hero,
body.dark-mode .contact-header {
  background: linear-gradient(135deg, #090d16 0%, #1e293b 100%) !important;
}

body.dark-mode .hero h1,
body.dark-mode .contact-header h1,
body.dark-mode .section-title,
body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4,
body.dark-mode h5 {
  color: #f8fafc !important;
}

body.dark-mode .hero p,
body.dark-mode .contact-header p,
body.dark-mode .section-subtitle,
body.dark-mode p,
body.dark-mode span,
body.dark-mode li {
  color: #cbd5e1;
}

body.dark-mode .badge-pill {
  background: rgba(52, 211, 153, 0.15) !important;
  color: #34d399 !important;
  border-color: rgba(52, 211, 153, 0.3) !important;
}

body.dark-mode .card,
body.dark-mode .stat-card,
body.dark-mode .hero-hw-card,
body.dark-mode .how-card,
body.dark-mode .purpose-card,
body.dark-mode .prodi-card,
body.dark-mode .vision-card,
body.dark-mode .jurnal-card,
body.dark-mode .sosialisasi-card,
body.dark-mode .calendar-card,
body.dark-mode .art-card,
body.dark-mode .video-card,
body.dark-mode .contact-info,
body.dark-mode .form-box,
body.dark-mode .faq-item,
body.dark-mode .filter-box,
body.dark-mode .about,
body.dark-mode .before-after-section,
body.dark-mode .jurnal-section,
body.dark-mode .sosialisasi-section,
body.dark-mode .calendar,
body.dark-mode .artikel-section,
body.dark-mode .video-section,
body.dark-mode .map,
body.dark-mode .purpose,
body.dark-mode .collaboration,
body.dark-mode .vision {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

body.dark-mode .hero-hw-text h4,
body.dark-mode .hero-hw-text p,
body.dark-mode .purpose-card h3,
body.dark-mode .purpose-card p,
body.dark-mode .prodi-card h3,
body.dark-mode .prodi-card p,
body.dark-mode .vision-card h2,
body.dark-mode .vision-card p,
body.dark-mode .jurnal-content h3,
body.dark-mode .jurnal-content p,
body.dark-mode .sosialisasi-card h3,
body.dark-mode .sosialisasi-card p,
body.dark-mode .calendar-info h4,
body.dark-mode .art-card h3,
body.dark-mode .art-card p,
body.dark-mode .video-info h3,
body.dark-mode .video-info p,
body.dark-mode .info-card h3,
body.dark-mode .info-card p,
body.dark-mode .form-box h2,
body.dark-mode .contact-info h2,
body.dark-mode label {
  color: #f8fafc !important;
}

body.dark-mode .hero-hw-text p,
body.dark-mode .purpose-card p,
body.dark-mode .prodi-card p,
body.dark-mode .jurnal-content p,
body.dark-mode .sosialisasi-card p,
body.dark-mode .art-card p,
body.dark-mode .video-info p,
body.dark-mode .info-card p,
body.dark-mode .agenda-desc,
body.dark-mode .agenda-meta-item span {
  color: #cbd5e1 !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background: #0f172a !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
  border-color: #34d399 !important;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2) !important;
}

body.dark-mode .tab-btn {
  background: #0f172a !important;
  color: #cbd5e1 !important;
  border-color: #334155 !important;
}

body.dark-mode .tab-btn.active,
body.dark-mode .tab-btn:hover {
  background: #10b981 !important;
  color: white !important;
  border-color: #10b981 !important;
}

body.dark-mode .modal-content,
body.dark-mode .art-modal-content {
  background: #1e293b !important;
  border: 1.5px solid #334155 !important;
  color: #f8fafc !important;
}

body.dark-mode .modal-content h2,
body.dark-mode .modal-content h3,
body.dark-mode .modal-content p,
body.dark-mode .modal-body-text p {
  color: #f8fafc !important;
}

body.dark-mode .close-btn,
body.dark-mode .modal-content span {
  color: #cbd5e1 !important;
}

body.dark-mode .btn-hero-outline,
body.dark-mode .btn-jurnal-more {
  background: #1e293b !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

body.dark-mode .btn-hero-outline:hover,
body.dark-mode .btn-jurnal-more:hover {
  border-color: #34d399 !important;
  color: #34d399 !important;
}

/* DARK MODE TOGGLE BUTTON */
.dark-toggle-btn {
  background: var(--tech-blue-light);
  color: var(--tech-blue);
  border: 1.5px solid rgba(21, 101, 192, 0.3);
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.dark-toggle-btn:hover {
  background: var(--tech-blue);
  color: white;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* AOS ANIMATION FAILSAFE FALLBACK */
html:not(.aos-initialized) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* NAVBAR HEADER & DROPDOWN NAVIGATION */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

header.header-scrolled {
  height: 75px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo i {
  font-size: 38px;
  color: var(--primary);
  filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
}

.logo h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.5px;
}

.mobile-nav-toggle, .hamburger-btn {
  display: none !important;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 18px;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-nav-toggle:hover, .hamburger-btn:hover {
  background: #e2e8f0;
  color: var(--primary);
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

nav a:hover, nav a.active {
  color: var(--primary);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 4px;
}

/* DROPDOWN MENU */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  padding: 8px 0;
  cursor: pointer;
  transition: var(--transition);
}

.dropdown-trigger:hover {
  color: var(--primary);
}

.dropdown-arrow {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  min-width: 240px;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1.5px solid #e2e8f0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu a i {
  font-size: 15px;
  color: var(--primary);
  width: 20px;
}

.dropdown-menu a:hover {
  background: #ecfdf5;
  color: var(--primary-dark);
}

body.dark-mode .dropdown-menu {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .dropdown-menu a {
  color: #f8fafc;
}

body.dark-mode .dropdown-menu a:hover {
  background: #334155;
  color: #34d399;
}

/* HERO SECTION */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 8%;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
}

.badge {
  background: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.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);
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  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);
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-button-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 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(16, 185, 129, 0.35);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.45);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 2px solid #cbd5e1;
  padding: 15px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  background: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
  animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* HERO HIGHLIGHT WIDGET CARDS (REPLACING BIG WHITE CIRCLE ICONS) */
.hero-widget-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  width: 100%;
}

.hero-hw-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1.5px solid #e2e8f0;
  transition: var(--transition);
}

.hero-hw-card:hover {
  transform: translateX(8px);
  border-color: var(--primary-light);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.hero-hw-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.hero-hw-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 3px;
}

.hero-hw-text p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* 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;
}

/* CUSTOM MODAL OVERLAY */
.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;
}

/* STATS SECTION */
.stats {
  max-width: 1200px;
  margin: -30px auto 70px;
  padding: 35px;
  background: white;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.stat-card:hover {
  background: var(--bg-main);
}

.stat-card i {
  font-size: 36px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 16px;
  border-radius: var(--radius-md);
}

.stat-card h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--forest);
}

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

.stat-card span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* HOW IT WORKS SECTION */
.how-it-works-section {
  padding: 80px 8%;
  background: white;
  text-align: center;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 45px auto 0;
}

.how-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: left;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  position: relative;
}

.how-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  background: white;
  border-color: var(--primary-light);
}

.how-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50%;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

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

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

/* BERANDA MINI CALCULATOR STYLES & DARK MODE FIX */
.mini-calc-section {
  padding: 85px 8%;
  background: var(--bg-main);
}

.mini-calc-box {
  max-width: 1100px;
  margin: 40px auto 0;
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #e2e8f0;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  transition: var(--transition);
}

.mini-calc-inputs h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group-home {
  margin-bottom: 16px;
}

.form-group-home label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-group-home input {
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font-size: 15px;
  outline: none;
  background: #f8fafc;
  color: #0f172a;
  transition: var(--transition);
}

.form-group-home input:focus {
  border-color: #10b981;
  background: white;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.mini-calc-output {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: white;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(4, 120, 87, 0.25);
}

.calc-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calc-output-header h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-pill {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.calc-res-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-res-item span {
  font-size: 13px;
  color: #d1fae5;
  display: block;
  margin-bottom: 4px;
}

.calc-res-item strong {
  font-size: 26px;
  color: #fbbf24;
  font-weight: 800;
}

.btn-calc-action {
  background: #f59e0b;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-calc-action:hover {
  background: #d97706;
  transform: translateY(-2px);
}

/* DARK MODE OVERRIDES SPECIFIC FOR CALCULATOR */
body.dark-mode .mini-calc-section {
  background: #090d16 !important;
}

body.dark-mode .mini-calc-box {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .mini-calc-inputs h3 {
  color: #f8fafc !important;
}

body.dark-mode .form-group-home label {
  color: #cbd5e1 !important;
}

body.dark-mode .form-group-home input {
  background: #0f172a !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

body.dark-mode .form-group-home input:focus {
  border-color: #34d399 !important;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2) !important;
}

/* FEATURE SECTION */
.feature {
  text-align: center;
  padding: 80px 8%;
  max-width: 1400px;
  margin: 0 auto;
}

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

.feature > p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 650px;
  margin: 0 auto 50px;
}

.feature-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

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

.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
  flex: 1;
}

.card a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.card a:hover {
  color: var(--primary);
  gap: 12px;
}

/* GAME CTA BANNER */
.game-cta-section {
  padding: 60px 8%;
  background: white;
}

.game-cta-box {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #10b981 0%, #064e3b 100%);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-lg);
}

.game-cta-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  margin-bottom: 14px;
}

.game-cta-text p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.game-cta-box button {
  padding: 16px 36px;
  background: white;
  color: var(--forest);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.game-cta-box button:hover {
  transform: scale(1.06);
  box-shadow: var(--shadow-lg);
}

/* JURNAL & DOKUMENTASI KEGIATAN */
.jurnal-section {
  padding: 80px 8%;
  background: white;
}

.jurnal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1300px;
  margin: 45px auto 0;
}

.jurnal-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.jurnal-img-box {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.jurnal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jurnal-card:hover .jurnal-img-box img {
  transform: scale(1.08);
}

.jurnal-date-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.jurnal-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jurnal-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.jurnal-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.jurnal-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.jurnal-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* TESTIMONIALS SECTION */
.testimonial-section {
  padding: 80px 8%;
  background: var(--bg-main);
  text-align: center;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 45px auto 0;
}

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

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testi-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 16px;
}

.testi-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-initial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.bg-avatar-green { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.bg-avatar-blue { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.bg-avatar-amber { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }

.testi-author h4 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testi-author span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* FAQ SECTION */
.faq-section {
  padding: 85px 8%;
  background: white;
}

.faq-accordion {
  max-width: 900px;
  margin: 45px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-main);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  background: white;
  box-shadow: var(--shadow-sm);
}

.faq-header {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-header span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-green { color: #10b981; }
.text-blue { color: #3b82f6; }
.text-amber { color: #f59e0b; }
.text-purple { color: #8b5cf6; }

.faq-toggle-icon {
  font-size: 16px;
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-body {
  max-height: 250px;
  padding: 0 24px 20px;
}

.faq-body p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

/* DARK MODE OVERRIDES FOR FAQ & TESTIMONIALS */
body.dark-mode .testimonial-section,
body.dark-mode .faq-section {
  background: #090d16 !important;
}

body.dark-mode .testi-card {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .testi-card p {
  color: #cbd5e1 !important;
}

body.dark-mode .testi-author h4 {
  color: #f8fafc !important;
}

body.dark-mode .testi-author span {
  color: #94a3b8 !important;
}

body.dark-mode .faq-item {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark-mode .faq-item.active {
  background: #1e293b !important;
  border-color: #34d399 !important;
  box-shadow: 0 10px 25px rgba(52, 211, 153, 0.15) !important;
}

body.dark-mode .faq-header {
  color: #f8fafc !important;
}

body.dark-mode .faq-body p {
  color: #cbd5e1 !important;
}

/* OFFICIAL FOOTER STYLES (FULL NAVIGATION & SOCIAL LINKS) */
footer, footer.official-footer {
  background: linear-gradient(180deg, #043e2f 0%, #064e3b 100%);
  color: #cbd5e1;
  padding: 65px 8% 25px;
  margin-top: 85px;
}

.footer-full-container {
  max-width: 1250px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  text-align: left;
}

.footer-brand-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: #34d399;
  color: #064e3b;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  color: white;
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #34d399;
  padding-left: 6px;
}

.footer-partner-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-partner-card i {
  font-size: 24px;
}

.footer-partner-card strong {
  display: block;
  color: white;
  font-size: 14px;
  margin-bottom: 2px;
}

.footer-partner-card p {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.footer-badge-kkn {
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: #64748b;
}

/* TOAST NOTIFICATION STYLES */
#toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 420px;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-left: 5px solid var(--primary);
  animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast-success { border-left-color: #10b981; }
.toast-success .toast-icon { color: #10b981; }

.toast-error { border-left-color: #ef4444; }
.toast-error .toast-icon { color: #ef4444; }

.toast-warning { border-left-color: #f59e0b; }
.toast-warning .toast-icon { color: #f59e0b; }

.toast-icon { font-size: 22px; margin-top: 2px; }

.toast-body strong { display: block; color: var(--text-primary); margin-bottom: 2px; }
.toast-body p { margin: 0; color: var(--text-secondary); font-size: 14px; }

.toast-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  margin-left: auto;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(30px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================
   MOBILE & TABLET RESPONSIVE STYLES
   ========================================== */

@media (max-width: 992px) {
  header {
    padding: 0 5%;
    height: 75px;
  }

  .mobile-nav-toggle, .hamburger-btn {
    display: flex !important;
  }

  nav {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 30px 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid var(--primary-light);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  body.dark-mode nav {
    background: rgba(15, 23, 42, 0.98) !important;
    border-bottom: 2px solid #334155 !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5) !important;
  }

  nav.mobile-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  nav a {
    font-size: 17px;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 5%;
    gap: 40px;
  }

  .hero-text {
    width: 100%;
    text-align: center;
  }

  .hero p {
    margin: 0 auto 30px;
  }

  .hero-button {
    justify-content: center;
  }

  .mini-calc-box, .game-cta-box {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
}

/* SPECIFIC FOR MOBILE & IPHONE 12 PRO (<= 480px / 390px) */
@media (max-width: 480px) {
  header {
    padding: 0 16px;
    height: 70px;
  }

  .logo i {
    font-size: 30px;
  }

  .logo h2 {
    font-size: 22px;
  }

  .hero {
    padding: 35px 16px 40px;
  }

  .badge {
    font-size: 13px;
    padding: 6px 14px;
    max-width: 100%;
    text-align: center;
  }

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

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

  .hero-button {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-image img, .hero-icon {
    max-width: 220px;
    height: 220px;
  }

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

  .stats {
    padding: 20px 16px;
    margin: -20px 16px 50px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 10px;
  }

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

  .how-it-works-section, .mini-calc-section, .feature, .game-cta-section, .jurnal-section, .testimonial-section, .faq-section {
    padding: 50px 16px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .how-grid, .feature-container, .jurnal-grid, .testi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .how-card, .card, .jurnal-card, .testi-card {
    padding: 24px 18px;
  }

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

  .game-cta-box button {
    width: 100%;
    justify-content: center;
  }

  .footer-full-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================
   BEFORE/AFTER INTERACTIVE DRAG SLIDER
   ========================================== */
.before-after-section {
  padding: 85px 8%;
  background: white;
}

.ba-drag-container {
  max-width: 950px;
  margin: 40px auto 0;
}

.ba-slider-container {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 3px solid #e2e8f0;
  user-select: none;
  touch-action: pan-y;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-before-img {
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 3px solid white;
}

.ba-before-img img {
  width: 950px;
  max-width: none;
}

.ba-tag-overlay {
  position: absolute;
  top: 20px;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 13px;
  color: white;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}

.before-tag {
  left: 20px;
  background: rgba(239, 68, 68, 0.9);
}

.after-tag {
  right: 20px;
  background: rgba(16, 185, 129, 0.9);
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle-line {
  width: 4px;
  height: 100%;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  margin: 0 auto;
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  border: 3px solid #10b981;
  transition: transform 0.2s ease;
}

.ba-handle-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.ba-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.ba-sum-card {
  padding: 22px 24px;
  border-radius: 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1.5px solid #e2e8f0;
}

.before-card {
  background: #fef2f2;
  border-color: #fecaca;
}

.after-card {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.ba-sum-icon {
  font-size: 24px;
  margin-top: 2px;
}

.before-card .ba-sum-icon { color: #ef4444; }
.after-card .ba-sum-icon { color: #10b981; }

.ba-sum-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.ba-sum-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================
   BALANCED 2x2 FEATURE GRID & STICKY CALC
   ========================================== */
.feature-container-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--primary);
  text-decoration: none;
  margin-top: 18px;
  transition: var(--transition);
}

.feature-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .ba-summary-grid, .feature-container-2x2, .mini-calc-box {
    grid-template-columns: 1fr;
  }

  .ba-slider-container {
    height: 300px;
  }

  .mini-calc-output {
    position: static;
  }
}

  .calc-res-item strong {
    font-size: 22px;
  }

  .modal-content {
    width: 92% !important;
    padding: 24px 18px !important;
  }

  #toast-container {
    right: 12px;
    left: 12px;
    bottom: 20px;
  }

  .toast {
    min-width: auto;
    max-width: 100%;
  }
}