:root {
    --primary: #1e3a8a;
    --accent: #fbbf24;
    --success: #22c55e;
    --danger: #ef4444;
    --gray: #f4f4f4;
}

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

body { background: #fafafa; color: #333; line-height: 1.6; }

.container { padding: 40px 20px; max-width: 480px; margin: 0 auto; }

.is-invalid {
  border-color: #dc3545;
}
small.text-danger {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  display: block;
  margin: 0 5px;
}

/* 1. Hero */
/* .hero { background: var(--primary); color: white; text-align: center; padding-top: 50px; } */
.hero { background: var(--primary); color: white; text-align: center; }
.badge { background: var(--accent); color: black; padding: 5px 15px; border-radius: 50px; font-weight: 800; font-size: 0.7rem; text-transform: uppercase; }
h1 { font-size: 2rem; margin: 15px 0; line-height: 1.2; font-weight: 800; }
.hero .bold { color: var(--accent); margin-top: 20px; }
/* .img-hero { width: 100%; border-radius: 20px; margin-top: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); } */
.img-hero{
  width: 100%;
  margin-top: 24px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}



/* 2. Agitation */
.agitation { background: white; text-align: center; }
/* .pain-list { text-align: left; margin-top: 20px; } */
/* .pain-item { background: #fff1f2; padding: 12px; border-radius: 10px; margin-bottom: 10px; font-weight: 600; border-left: 4px solid var(--danger); font-size: 0.9rem; } */
.pain-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.pain-list li{
  position: relative;
  padding: 14px;
  padding-left: 34px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  text-align: left;
  background: #fee2e2;
  border-radius: 12px;

}

.pain-list li::before{
  content: "✕";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 22px;
  height: 22px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}


/* 3. Solution */
.solution img {
  width: 100%;
  margin-bottom: 10px;
}
.solution h2 {
  margin-bottom: 20px;
  text-align: center;
}

.solution-sub{
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  max-width: 520px;
  margin: -10px auto 30px;
  font-weight: 500;
}

.solution-sub strong{
  color: var(--primary);
  font-weight: 800;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.solution-item {
  background: #eef2ff;
  padding: 20px 10px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* 4. Programs */
/* .section-title { text-align: center; margin-bottom: 25px; }
.prog-card { background: white; border-radius: 15px; padding: 25px; margin-bottom: 20px; border: 1px solid #eee; position: relative; }
.prog-header { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.prog-price { font-size: 1.5rem; font-weight: 800; color: var(--danger); margin: 5px 0; }
.prog-materi { list-style: none; margin-top: 10px; font-size: 0.9rem; color: #666; }
.prog-materi li:before { content: "✅ "; }
.highlight { border: 3px solid var(--accent); transform: scale(1.02); }
.best-badge { position: absolute; top: -12px; right: 20px; background: var(--accent); font-weight: 800; padding: 5px 10px; border-radius: 5px; font-size: 0.7rem; } */
.section-title {
  text-align: center;
  font-weight: 800;
  margin-bottom: 20px;
}

.program-sub {
  text-align: center;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.4em;
}

.prog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}
.prog-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.prog-content {
  padding: 20px;
}

.prog-content h3{
  color: var(--primary)
}
.prog-desc {
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.start-date-note {
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.benefit-list {
  list-style: none;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.benefit-list li::before {
  content: '✅ ';
  color: var(--success);
  font-weight: bold;
  margin-right: 5px;
}
.price {
  margin-bottom: 5px;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  gap: 10px;
  align-items: center;
}
.price-old {
  color: #888;
  font-size: 0.9rem;
  text-decoration: line-through;
}
.price-now {
  color: var(--danger);
  font-size: 1.3rem;
}

.highlight {
  border: 3px solid var(--accent);
  position: relative;
  transform: scale(1.02);
}
.best-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 6px;
}
.installment {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--success);
}

.prog-card .btn-join{
  display: block;
  width: fit-content;
  margin: 12px auto 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  font-size: .85rem;
}


/* 5. Google Review */
.google-header {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 15px;
}
.g-logo {
  width: 120px;
}
.stars {
  color: var(--accent);
  font-weight: 800;
}
.rating-num {
  color: #666;
  font-size: 0.9rem;
  margin-left: 5px;
}
.review-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 15px;
  scrollbar-width: none;
  margin-bottom: 25px;
}
.review-scroll::-webkit-scrollbar {
  display: none;
}
.review-card {
  min-width: 280px;
  background: white;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.user-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.stars-small {
  color: #fbbf24;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.google-reviews img.siswa {
  width: 100%;
  /* height: 280px; */
  border-radius: 15px;
}

/* 6. Social Proof */
.social-proof { background: #fff; text-align: center; }
.testi-card { background: #f9f9f9; padding: 20px; border-radius: 15px; margin-bottom: 20px; }
.testi-card img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; border: 3px solid var(--accent); }


/* 7. Registration */
.registration {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?q=80&w=1200');
  background-size: cover;
}
.registration h2 {
  text-align: center;
}
.form-box {
  background: #fff;
  padding: 28px 20px;
  border-radius: 20px;
}
.scarcity {
  color: var(--danger);
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
  border: 1px dashed var(--danger);
  padding: 10px;
  border-radius: 10px;
}
form .form-group {
  margin-bottom: 12px;
}
form input,
form select {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 0px;
}
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--success);
  border: none;
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  font-size: 1.05rem;
}
.form-note,
.guarantee {
  text-align: center;
  font-size: 0.7rem;
  margin-top: 10px;
  color: #666;
}

#submit-loader {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  z-index: 9998;
  justify-content: center;
  align-items: center;
}
#submit-loader.active {
  display: flex;
}
.submit-loader-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.submit-spinner {
  width: 45px;
  height: 45px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: 1s linear infinite spin;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#submit-loader p {
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
}

/* 8. FAQ */
.faq h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: #333;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-question .icon {
  font-size: 1.2rem;
  font-weight: 900;
  transition: 0.3s;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  font-size: 0.85rem;
  color: #555;
  transition: max-height 0.35s ease;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 16px;
}
.faq-item.active .icon {
  transform: rotate(45deg);
}
.faq-question {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.faq-question:focus {
  outline: none;
}
#btn-konfirmasi {
  display: inline-block;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
#btn-konfirmasi:hover {
  background: #20b858;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#btn-konfirmasi:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
#btn-konfirmasi::before {
  content: '📲';
  margin-right: 6px;
  display: inline-block;
}

.seo-hidden {
  position: absolute;
  left: -9999px;
  height: 1px;
  overflow: hidden;
}

/* 9. Sticky CTA */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: white; padding: 12px 20px; z-index: 1000; box-shadow: 0 -5px 15px rgba(0,0,0,0.05); }
.btn-primary { display: block; text-align: center; background: var(--danger); color: white; text-decoration: none; padding: 15px; border-radius: 10px; font-weight: 800; }

.pulse { animation: pulse-red 2s infinite; }
@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* 10. Footer */
footer {
  text-align: center;
  padding: 40px 0 120px;
  padding-top: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* 11. Loader */
#page-loader {
  position: fixed;
  inset: 0;
  background: #0f172a;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.4s,
    visibility 0.4s;
}
#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #fbbf24;
  border-radius: 50%;
  margin: 0 auto 15px;
  animation: 1s linear infinite spin;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 12. Location */
/* .location{
  background: #f1f5f9;
} */

.location h2{
  text-align: center;
  font-weight: 800;
  margin-bottom: 10px;
}

.location-sub{
  text-align: center;
  font-size: .9rem;
  color: #475569;
  max-width: 520px;
  margin: 0 auto 24px;
}

.map-box{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.map-box iframe{
  width: 100%;
  height: 280px;
  border: 0;
}

.address-box{
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  margin-top: 18px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  font-size: .85rem;
}

.btn-maps{
  display: inline-block;
  margin-top: 12px;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  font-size: .85rem;
}

/* 13. CTA */
.final-cta{
  background:#1e3a8a;
}

.final-cta .container{
  padding:40px 20px;
  text-align:left;
}

.final-cta .section-title{
  /* font-size:1.25rem; */
  font-size: 1.6rem;
  font-weight:800;
  color:#fff;
  margin-bottom:6px;
  text-align: left;
}

.final-cta .section-title strong{
  color:var(--accent);
}

.cta-sub{
  font-size:.9rem;
  color:#e5e7eb;
  line-height:1.5;
  margin-bottom:16px;
}

.btn-cta{
  display:inline-block;
  background:#fbbf24;
  color:#1f2937;
  padding: 12px 18px;
  border-radius:12px;
  font-weight:800;
  font-size:.95rem;
  text-decoration:none;
}

.arrow-down{
  display:flex;
  justify-content:center;
  margin-top:12px;
}

.arrow-down img{
  width:36px;
  height:auto;
  display:block;
  animation: floatDown 1.6s ease-in-out infinite;
}

@keyframes floatDown{
  0%{ transform:translateY(0); opacity:.8; }
  50%{ transform:translateY(10px); opacity:1; }
  100%{ transform:translateY(0); opacity:.8; }
}

/* 14. Consultation */
.consultation {
  background: linear-gradient(135deg, #ecfeff, #f0f9ff);
  text-align: center;
}

.consultation h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0f172a;
}

.consultation p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.consultation .btn-consultation {
  display: block;
  width: fit-content;
  margin: 12px auto 0;
  background: var(--success);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  font-size: .85rem;
}

.consultation .note {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #64748b;
}

.consultation img {
  width: 13px;
  top: 2px;
  position: relative;
}

/* Popup overlay (flexbox centering) */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.popup-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: popupShow 0.3s ease-out;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}
.popup-content .btn-ok {
  margin-top: 20px;
  background: var(--success);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.popup-price {
  margin: 20px 0;
  font-weight: 600;
}
.popup-price .price-old {
  text-decoration: line-through;
  color: #888;
  margin-right: 10px;
}
.popup-price .price-now {
  color: var(--danger);
  font-weight: 800;
  font-size: 1.3rem;
}
@keyframes popupShow {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Payment Box */
.payment-box {
  margin: 20px 0;
  padding: 15px;
  border: 2px dashed var(--accent);
  border-radius: 12px;
  background: #fffbe6;
}
.payment-title {
  font-weight: 800;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.bank-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.bank-info {
  text-align: left;
  font-size: 0.85rem;
}
.bank-info span {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 4px 0;
}
.bank-info small {
  color: #555;
}
.btn-copy {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-copy.copied {
  background: var(--success);
}

.payment-amount {
  margin: 15px 0 20px;
  padding: 15px;
  background: #ecfeff;
  border-radius: 12px;
  text-align: center;
}
.amount-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #065f46;
}
.amount-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--success);
  margin: 0;
}
/* .amount-note {
  font-size: 0.7rem;
  color: #555;
} */

.amount-note {
  display: block;
  font-size: .75rem;
  color: #64748b;
  margin-top: 4px;
}


/* .slot-timer{margin:15px 0;padding:15px;background:#fff1f2;border:2px solid var(--danger);border-radius:14px;text-align:center} */
.slot-timer {
  margin: 12px 0;
  padding-top: 10px;
  text-align: center;
  border-top: 1px dashed #fecaca;
  border-bottom: 1px dashed #fecaca;
}
.timer-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #7f1d1d;
}
.timer-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--danger);
  letter-spacing: 1px;
  margin: 6px 0;
}
.timer-note {
  font-size: 0.7rem;
  color: #555;
}

.btn-wa {
  display: block;
  margin-top: 15px;
  background: #25d366;
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
}

#page-loader {
  position: fixed;
  inset: 0;
  background: #0f172a;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.4s,
    visibility 0.4s;
}
#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #fbbf24;
  border-radius: 50%;
  margin: 0 auto 15px;
  animation: 1s linear infinite spin;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* ============================= */
/* DESKTOP / WEB (>=1024px) */
/* ============================= */
@media (min-width: 1024px) {
  .prog-img {
    height: auto;
  }
}