/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #10B981; /* Hijau Uang */
  --primary-dark: #059669;
  --secondary: #3B82F6; /* Biru */
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #1E293B;
  --muted: #64748B;
  --border: #E2E8F0;
  --shadow: 0 10px 30px rgba(0,0,0,0.05);
  --radius: 16px;
  --font: 'Poppins', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: min(1140px, 90%); margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 700; transition: 0.3s; border: none; cursor: pointer; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5); }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; flex-direction: column; gap: 2px; line-height: 1.2; }
.btn-lg small { font-size: 0.75rem; font-weight: 400; opacity: 0.9; }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--primary); }
.logo-icon { font-size: 1.5rem; }
.nav { display: flex; gap: 24px; }
.nav a { font-weight: 500; color: var(--muted); transition: 0.2s; font-size: 0.95rem; }
.nav a:hover { color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* ===== HERO ===== */
.hero { padding: 140px 0 80px; background: linear-gradient(180deg, #ECFDF5 0%, var(--bg) 100%); position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.badge { display: inline-block; background: #FEF3C7; color: #D97706; font-weight: 700; font-size: 0.85rem; padding: 6px 16px; border-radius: 999px; margin-bottom: 20px; border: 1px solid #FDE68A; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.1rem; color: var(--muted); margin-bottom: 30px; max-width: 90%; }
.hero-cta { margin-bottom: 30px; }
.hero-trust { display: flex; gap: 24px; font-size: 0.9rem; color: var(--muted); }
.trust-item span { color: var(--text); font-weight: 700; display: block; font-size: 1.1rem; }

/* Mockup HP */
.hero-image { display: flex; justify-content: center; position: relative; }
.phone-mockup { width: 280px; height: 560px; background: #1E293B; border-radius: 40px; padding: 12px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); position: relative; animation: float 6s ease-in-out infinite; border: 4px solid #334155; }
.phone-screen { background: #fff; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; padding: 20px 15px; display: flex; flex-direction: column; gap: 15px; }
.app-header { font-weight: 800; font-size: 1.2rem; text-align: center; margin-bottom: 10px; }
.app-balance { background: #ECFDF5; padding: 20px; border-radius: 16px; text-align: center; color: var(--primary-dark); font-size: 0.85rem; }
.app-balance strong { font-size: 1.5rem; display: block; margin-top: 5px; }
.app-btn { background: var(--primary); color: #fff; text-align: center; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 0.9rem; }
.app-task { background: #F8FAFC; padding: 12px; border-radius: 12px; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--border); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* ===== STATS ===== */
.stats { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--border); }
.stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat-box h3 { font-size: 2rem; color: var(--primary); font-weight: 800; }
.stat-box p { color: var(--muted); font-weight: 500; font-size: 0.9rem; }

/* ===== SECTION COMMON ===== */
.section { padding: 80px 0; }
.section-alt { background: #F1F5F9; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.section-head h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.section-head h2 span { color: var(--primary); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ===== GRID & CARDS ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--surface); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); transition: 0.3s; }
.card:hover { transform: translateY(-5px); border-color: var(--primary); }
.card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ===== STEPS ===== */
.step { text-align: center; position: relative; padding: 20px; }
.step-num { width: 60px; height: 60px; background: var(--primary); color: #fff; font-size: 1.5rem; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ===== TESTIMONI ===== */
.testimoni-card .stars { color: #F59E0B; font-size: 1.2rem; margin-bottom: 15px; }
.testimoni-card p { font-style: italic; margin-bottom: 20px; color: var(--text); }
.user { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 45px; height: 45px; border-radius: 50%; background: #DBEAFE; color: #2563EB; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; }
.user strong { font-size: 0.95rem; }
.user small { color: var(--muted); font-size: 0.8rem; }

/* ===== FAQ ===== */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); font-weight: 400; }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { padding: 0 20px 20px; color: var(--muted); font-size: 0.95rem; }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 80px 0; text-align: center; color: #fff; }
.cta-inner h2 { font-size: 2.2rem; margin-bottom: 16px; }
.cta-inner p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
.cta-inner .btn { background: #fff; color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.cta-inner .btn:hover { background: #F8FAFC; transform: translateY(-3px); }
.small-note { font-size: 0.8rem; margin-top: 20px; opacity: 0.7; }

/* ===== FOOTER ===== */
.footer { background: #0F172A; color: #94A3B8; padding: 60px 0 20px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: #fff; font-size: 1.5rem; margin-bottom: 15px; }
.footer-brand p { max-width: 300px; }
.footer-links h4 { color: #fff; margin-bottom: 15px; }
.footer-links a { display: block; margin-bottom: 10px; transition: 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #1E293B; padding-top: 20px; text-align: center; font-size: 0.85rem; }

/* ===== LIVE TOAST (NOTIFIKASI) ===== */
.live-toast { position: fixed; bottom: 20px; left: 20px; background: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 15px; z-index: 999; border-left: 5px solid var(--primary); transform: translateX(-150%); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.live-toast.show { transform: translateX(0); }
.toast-avatar { width: 40px; height: 40px; border-radius: 50%; background: #DBEAFE; color: #2563EB; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.toast-content { font-size: 0.85rem; color: var(--text); line-height: 1.3; }
.toast-content span { color: var(--primary); font-weight: 800; }

/* ===== POPUP PROMO STYLES (TIDAK BISA DI-CLOSE) ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 30, 0.85);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: linear-gradient(180deg, #0d1035 0%, #1a1a40 100%);
  border: 2px solid #2b3d9e;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 0 30px rgba(43, 61, 158, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 95vh;
  overflow-y: auto;
}

.popup-overlay.show .popup-content {
  transform: translateY(0);
}

/* Custom Scrollbar untuk popup */
.popup-content::-webkit-scrollbar {
  width: 6px;
}
.popup-content::-webkit-scrollbar-thumb {
  background: #2b3d9e;
  border-radius: 10px;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a0a5d6;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.8rem;
}

.popup-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  letter-spacing: 1px;
}

.logo-diamond {
  color: #5a7cff;
  font-size: 1rem;
}

.popup-header-right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dot-green {
  width: 8px;
  height: 8px;
  background-color: #00ff88;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #00ff88;
}

.popup-title {
  text-align: center;
  margin-bottom: 0.2rem;
}

.popup-title h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.popup-title h1 span {
  color: #ff4d4d;
}

.popup-subtitle {
  text-align: center;
  color: #5a7cff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.popup-image-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 2px solid #2b3d9e;
  box-shadow: 0 0 15px rgba(43, 61, 158, 0.4);
}

.popup-img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.bonus-btn {
  background: #000;
  border: 1px solid #444;
  color: #fff;
  padding: 0.6rem 0.2rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.bonus-btn:hover {
  border-color: #5a7cff;
  color: #5a7cff;
  background: #111;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.action-btn {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #2a3fb5 0%, #15227a 100%);
  border: 1px solid #4a6bff;
  border-radius: 50px;
  padding: 0.6rem 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.action-btn:hover {
  filter: brightness(1.2);
  transform: scale(1.02);
}

.action-num {
  font-size: 0.8rem;
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 50%;
  margin-right: 1rem;
}

.action-text {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.action-arrow {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.popup-footer {
  text-align: center;
  font-size: 0.65rem;
  color: #6b7299;
  letter-spacing: 1px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 30px; }
  .hero-trust { justify-content: center; }
  .hero-image { margin-top: 40px; }
  .stats-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); text-align: center; }
  .nav.active { display: flex; }
  .menu-toggle { display: block; }
  .nav-btn { display: none; }
}