/* ============================================
   Quba Partner Landing Page — style.css
   ============================================ */

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

/* ─── Reset & Base ──────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{
  font-family:'Plus Jakarta Sans',-apple-system,system-ui,sans-serif;
  color:#1F2937;
  background:#fff;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
ul,ol{list-style:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
input,textarea,select{font-family:inherit;font-size:inherit}

/* ─── Variables ─────────────────────────────── */
:root{
  --primary:#003B46;
  --primary-dark:#002D38;
  --gold:#FFC83B;
  --light-teal:#EDF6F8;
  --card-bg:#F5F9FA;
  --text-primary:#1F2937;
  --text-muted:#6B7280;
  --text-white:#fff;
  --border:#E5E7EB;
  --shadow-sm:0 1px 3px rgba(0,0,0,.08);
  --shadow-md:0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:0 8px 30px rgba(0,0,0,.12);
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:16px;
  --radius-xl:24px;
  --font-heading:'Playfair Display',Georgia,'Times New Roman',serif;
  --font-body:'Plus Jakarta Sans',-apple-system,system-ui,sans-serif;
  --nav-height:75px;
  --container-max:1200px;
}

/* ─── Container ───────────────────────────── */
.container{width:100%;max-width:var(--container-max);margin:0 auto;padding:0 20px}
@media(min-width:768px){.container{padding:0 40px}}

/* ─── Buttons ──────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font-body);
  font-weight:600;font-size:15px;
  padding:12px 28px;
  border-radius:50px;
  transition:all .3s ease;
  white-space:nowrap;
}
.btn-gold{
  background:var(--gold);
  color:var(--primary-dark);
  box-shadow:0 4px 14px rgba(255,200,59,.35);
}
.btn-gold:hover{background:#f5b800;transform:translateY(-2px);box-shadow:0 6px 20px rgba(255,200,59,.45)}
.btn-outline-light{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,.3);
}
.btn-outline-light:hover{border-color:var(--gold);color:var(--gold)}
.btn-outline-teal{
  background:transparent;
  color:var(--primary);
  border:2px solid var(--primary);
}
.btn-outline-teal:hover{background:var(--primary);color:white}
.btn-play{
  display:inline-flex;align-items:center;gap:10px;
  font-weight:500;font-size:15px;
  color:var(--primary);
}
.btn-play .play-icon{
  width:48px;height:48px;
  border-radius:50%;
  background:var(--primary);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.btn-play .play-icon svg{width:20px;height:20px;fill:white;margin-left:3px}

/* ─── Section Styles ───────────────────────── */
.section{padding:80px 0}
.section-title{
  font-family:var(--font-heading);
  font-size:32px;font-weight:700;
  color:var(--primary);
  text-align:center;
  margin-bottom:12px;
}
.section-subtitle{
  font-size:16px;color:var(--text-muted);
  text-align:center;
  max-width:600px;margin:0 auto 48px;
}
.section-light{background:var(--light-teal)}
.testimoni-banner{
  max-width:1000px;
  margin:0 auto;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.testimoni-image{
  display:block;
  width:100%;
  height:auto;
}

@media(max-width:768px){
  .testimoni-banner{border-radius:var(--radius-md)}
}

.section-white{background:#fff}
.section-dark{background:var(--primary-dark);color:#fff}

/* =============================================
   NAVBAR
   ============================================= */
.navbar{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  height:var(--nav-height);
  background:var(--primary);
  transition:background .3s ease,box-shadow .3s ease;
}
.navbar.scrolled{background:rgba(0,59,70,.97);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.navbar .container{
  display:flex;align-items:center;
  height:100%;
  padding:0 20px;
}
@media(min-width:1024px){.navbar .container{padding:0 40px}}

.navbar-logo{
  display:flex;align-items:center;gap:10px;
  font-size:18px;font-weight:700;color:#fff;
  flex-shrink:0;
}
.navbar-logo svg{width:32px;height:32px}
.navbar-logo-img{width:36px;height:36px;object-fit:contain;border-radius:6px}
.navbar-logo span{font-size:14px;letter-spacing:.5px}

.navbar-links{
  display:flex;align-items:center;gap:24px;
  margin:0 auto;
}
.navbar-links a{
  color:rgba(255,255,255,.8);
  font-size:14px;font-weight:500;
  transition:color .2s;
  white-space:nowrap;
}
.navbar-links a:hover{color:#fff}

.navbar-cta{flex-shrink:0}
.navbar-cta .btn{padding:10px 24px;font-size:14px}

/* Mobile Toggle */
.menu-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px;background:none;border:none;margin-left:auto}
.menu-toggle span{display:block;width:24px;height:2.5px;background:#fff;border-radius:2px;transition:all .3s}
.menu-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

@media(max-width:1023px){
  .menu-toggle{display:flex}
  .navbar-links{display:none}
  .navbar-cta{display:none}
  .navbar-links.open{
    display:flex;flex-direction:column;
    position:absolute;top:var(--nav-height);left:0;right:0;
    background:var(--primary);
    padding:20px 40px 30px;
    gap:16px;
    align-items:stretch;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
  }
  .navbar-links.open a{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.1);font-size:15px}
}

/* =============================================
   HERO
   ============================================= */
.hero{
  padding:calc(var(--nav-height) + 60px) 0 60px;
  background:linear-gradient(180deg,#EDF6F8 0%,#fff 100%);
  overflow:hidden;
}
.hero .container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;align-items:center;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--light-teal);color:var(--primary);
  font-size:13px;font-weight:600;letter-spacing:.5px;
  padding:8px 18px;border-radius:50px;
  margin-bottom:20px;
}
.hero h1{
  font-family:var(--font-heading);
  font-size:44px;font-weight:700;
  color:var(--primary);
  line-height:1.2;
  margin-bottom:16px;
}
.hero p{
  font-size:16px;color:var(--text-muted);
  line-height:1.7;
  margin-bottom:28px;
  max-width:520px;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-bottom:40px}
.hero-image{
  display:flex;justify-content:center;align-items:center;
}
.hero-image img{
  width:100%;max-width:520px;
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-lg);
}

/* Hero Stats */
.hero-stats{
  display:flex;gap:40px;
  padding-top:20px;border-top:1px solid var(--border);
}
.hero-stat{
  display:flex;align-items:center;gap:10px;
}
.hero-stat svg{width:24px;height:24px;flex-shrink:0}
.hero-stat-text{display:flex;flex-direction:column}
.hero-stat-value{font-size:20px;font-weight:700;color:var(--primary)}
.hero-stat-label{font-size:13px;color:var(--text-muted)}

@media(max-width:1023px){
  .hero .container{grid-template-columns:1fr;text-align:center}
  .hero h1{font-size:32px}
  .hero p{margin-left:auto;margin-right:auto}
  .hero-actions{justify-content:center}
  .hero-stats{justify-content:center;flex-wrap:wrap;gap:24px}
  .hero-image img{max-width:380px;margin-top:20px}
}
@media(max-width:480px){
  .hero h1{font-size:28px}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%;justify-content:center}
  .hero-stats{flex-direction:column;align-items:center;gap:16px}
  .hero{padding:calc(var(--nav-height) + 30px) 0 40px}
}

/* =============================================
   KEUNGGULAN (Why Join) — BANNER
   ============================================= */
.keunggulan-video{
  max-width:720px;
  margin:0 auto 32px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.keunggulan-video-player{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
}
@media(max-width:768px){
  .keunggulan-video{border-radius:var(--radius-md)}
}

.keunggulan-banner{
  max-width:1000px;
  margin:0 auto;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.keunggulan-image{
  display:block;
  width:100%;
  height:auto;
}
@media(max-width:768px){
  .keunggulan-banner{border-radius:var(--radius-md)}
}

/* =============================================
   KEUNGGULAN (Why Join)
   ============================================= */
.features-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.feature-card{
  background:var(--card-bg);
  border-radius:var(--radius-lg);
  padding:28px 24px;
  box-shadow:var(--shadow-sm);
  transition:transform .3s ease,box-shadow .3s ease;
}
.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.feature-card svg{width:44px;height:44px;margin-bottom:16px}
.feature-card h3{
  font-family:var(--font-heading);
  font-size:18px;font-weight:700;
  color:var(--primary);
  margin-bottom:8px;
}
.feature-card p{font-size:14px;color:var(--text-muted);line-height:1.6}

@media(max-width:1023px){.features-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.features-grid{grid-template-columns:1fr}}

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps-wrapper{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:60px;
  position:relative;
  max-width:900px;
  margin:0 auto;
}
.steps-wrapper::before{
  content:'';
  position:absolute;
  top:30px;left:15%;right:15%;
  height:2px;
  border-top:2px dashed rgba(255,255,255,.25);
}
.step-item{
  flex:1;
  text-align:center;
  position:relative;
  z-index:2;
}
.step-number{
  width:60px;height:60px;
  border-radius:50%;
  border:3px solid var(--gold);
  display:flex;align-items:center;justify-content:center;
  font-size:24px;font-weight:700;color:var(--gold);
  margin:0 auto 16px;
  background:var(--primary-dark);
}
.step-item h3{font-size:20px;font-weight:700;color:#fff;margin-bottom:8px}
.step-item p{font-size:14px;color:rgba(255,255,255,.7);line-height:1.6}

@media(max-width:768px){
  .steps-wrapper{flex-direction:column;gap:32px}
  .steps-wrapper::before{display:none}
}


/* =============================================
   FLYER CARDS — Paket Iktikaf (gambar asli)
   ============================================= */
.flyer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  align-items:start;
}
.flyer-card{
  background:#fff;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
  transition:transform .3s ease,box-shadow .3s ease;
  position:relative;
}
.flyer-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.flyer-card.flyer-featured{
  border:2px solid var(--gold);
  transform:scale(1.05);
  z-index:1;
}
.flyer-card.flyer-featured:hover{transform:scale(1.05) translateY(-6px)}
.flyer-badge{
  position:absolute;top:12px;right:12px;z-index:3;
  background:var(--gold);color:var(--primary-dark);
  font-size:11px;font-weight:700;letter-spacing:.5px;
  padding:4px 14px;border-radius:50px;
  white-space:nowrap;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}

/* Image */
.flyer-image-link{display:block;position:relative;overflow:hidden;line-height:0}
.flyer-image{
  display:block;width:100%;height:auto;
  transition:transform .4s ease;
}
.flyer-card:hover .flyer-image{transform:scale(1.04)}

/* Overlay label */
.flyer-overlay{
  position:absolute;bottom:0;left:0;right:0;
  background:linear-gradient(transparent,rgba(0,59,70,.8));
  padding:36px 14px 12px;
  pointer-events:none;
}
.flyer-overlay-badge{
  display:inline-block;
  background:var(--gold);color:var(--primary-dark);
  font-size:12px;font-weight:700;
  padding:4px 16px;border-radius:50px;
}

/* Body */
.flyer-body{
  padding:14px 16px 20px;
}
.flyer-price-tag{
  font-size:20px;font-weight:800;
  color:var(--primary-dark);
  margin-bottom:10px;
}
.flyer-features{
  margin-bottom:14px;
}
.flyer-features li{
  display:flex;align-items:center;gap:8px;
  font-size:13px;color:var(--text-primary);
  padding:4px 0;
}
.flyer-features li svg{width:16px;height:16px;flex-shrink:0}
.flyer-footer .btn{display:block;width:100%;text-align:center;font-size:14px;padding:10px 20px}

@media(max-width:1023px){
  .flyer-grid{grid-template-columns:1fr;max-width:400px;margin:0 auto}
  .flyer-card.flyer-featured{transform:none}
  .flyer-card.flyer-featured:hover{transform:translateY(-4px)}
}

.packages-grid{display:none}

/* =============================================
   FASILITAS AGEN
   ============================================= */
.fasilitas-banner{
  max-width:1000px;
  margin:0 auto;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.fasilitas-image{
  display:block;
  width:100%;
  height:auto;
}

@media(max-width:768px){
  .fasilitas-banner{border-radius:var(--radius-md)}
}
/* =============================================
   TESTIMONI
   ============================================= */
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.testimonial-card{
  background:#fff;
  border-radius:var(--radius-lg);
  padding:28px 24px;
  box-shadow:var(--shadow-sm);
  text-align:center;
  transition:transform .3s ease;
}
.testimonial-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.testimonial-avatar{
  width:64px;height:64px;
  border-radius:50%;
  background:var(--light-teal);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 12px;
  font-size:24px;font-weight:700;color:var(--primary);
}
.testimonial-name{font-size:16px;font-weight:600;color:var(--primary)}
.testimonial-role{font-size:12px;color:var(--text-muted);margin-bottom:8px}
.testimonial-stars{
  display:flex;justify-content:center;gap:2px;
  margin-bottom:10px;
}
.testimonial-stars svg{width:16px;height:16px}
.testimonial-quote{
  font-size:14px;color:var(--text-muted);
  font-style:italic;
  line-height:1.6;
}

@media(max-width:768px){.testimonials-grid{grid-template-columns:1fr;max-width:400px;margin:0 auto}}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner{
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  padding:80px 0;
  text-align:center;
}
.cta-banner h2{
  font-family:var(--font-heading);
  font-size:36px;font-weight:700;
  color:#fff;
  margin-bottom:12px;
}
.cta-banner p{
  font-size:16px;color:rgba(255,255,255,.8);
  max-width:520px;margin:0 auto 28px;
}
.cta-banner .btn{padding:14px 40px;font-size:16px}

/* =============================================
   FAQ
   ============================================= */
.faq-list{max-width:700px;margin:0 auto}
.faq-item{
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  margin-bottom:12px;
  overflow:hidden;
}
.faq-question{
  display:flex;align-items:center;justify-content:space-between;
  width:100%;padding:18px 24px;
  font-size:15px;font-weight:600;
  color:var(--text-primary);
  background:#fff;
  text-align:left;
  transition:background .2s;
}
.faq-question:hover{background:var(--card-bg)}
.faq-question svg{width:20px;height:20px;transition:transform .3s;flex-shrink:0}
.faq-question[aria-expanded="true"] svg{transform:rotate(180deg)}
.faq-answer{
  padding:0 24px 18px;
  font-size:14px;color:var(--text-muted);
  line-height:1.7;
}
.faq-answer[hidden]{display:none}

/* =============================================
   FOOTER
   ============================================= */
.footer{
  background:var(--primary);
  color:rgba(255,255,255,.8);
  padding:60px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1.5fr 1.5fr;
  gap:40px;
  padding-bottom:40px;
}
.footer-logo{
  display:flex;align-items:center;gap:10px;
  font-size:16px;font-weight:700;color:#fff;
  margin-bottom:12px;
}
.footer-logo svg{width:28px;height:28px}
.footer-logo-img{width:32px;height:32px;object-fit:contain;border-radius:4px}
.footer-about p{font-size:14px;line-height:1.7}
.footer h4{font-size:15px;font-weight:700;color:#fff;margin-bottom:16px}
.footer-links a{
  display:block;
  font-size:14px;
  color:rgba(255,255,255,.7);
  padding:4px 0;
  transition:color .2s;
}
.footer-links a:hover{color:var(--gold)}
.footer-contact p{
  display:flex;align-items:center;gap:8px;
  font-size:14px;
  margin-bottom:8px;
}
.footer-contact svg{width:18px;height:18px;flex-shrink:0}
.footer-social{display:flex;gap:12px}
.footer-social a{
  width:40px;height:40px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  display:flex;align-items:center;justify-content:center;
  transition:all .3s;
}
.footer-social a:hover{background:var(--gold);border-color:var(--gold)}
.footer-social a:hover svg{stroke:var(--primary-dark)}
.footer-social svg{width:20px;height:20px}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding:20px 0;
  text-align:center;
  font-size:13px;color:rgba(255,255,255,.5);
}
.footer-bottom span{color:var(--gold)}

@media(max-width:1023px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.footer-grid{grid-template-columns:1fr}}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay{
  position:fixed;inset:0;z-index:2000;
  display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.6);
  padding:20px;
  opacity:0;visibility:hidden;
  transition:all .3s ease;
}
.modal-overlay.active{opacity:1;visibility:visible}
.modal{
  background:#fff;
  border-radius:var(--radius-lg);
  width:100%;max-width:480px;
  max-height:90vh;overflow-y:auto;
  padding:36px 32px 28px;
  position:relative;
  transform:translateY(20px);
  transition:transform .3s ease;
}
.modal-overlay.active .modal{transform:translateY(0)}
.modal-close{
  position:absolute;top:16px;right:16px;
  width:32px;height:32px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--card-bg);
  color:var(--text-muted);
  transition:background .2s;
}
.modal-close:hover{background:var(--border)}
.modal-close svg{width:18px;height:18px}
.modal h2{
  font-family:var(--font-heading);
  font-size:22px;font-weight:700;
  color:var(--primary);
  margin-bottom:4px;
}
.modal .modal-subtitle{
  font-size:14px;color:var(--text-muted);
  margin-bottom:24px;
}

/* Form */
.form-group{margin-bottom:16px}
.form-group label{
  display:block;
  font-size:13px;font-weight:600;
  color:var(--text-primary);
  margin-bottom:6px;
}
.form-group label .required{color:#EF4444}
.form-group input,.form-group select{
  width:100%;
  padding:12px 14px;
  border:1.5px solid var(--border);
  border-radius:var(--radius-sm);
  font-size:14px;
  color:var(--text-primary);
  background:#fff;
  transition:border-color .2s;
  outline:none;
}
.form-group input:focus,.form-group select:focus{border-color:var(--gold)}
.form-group input[aria-invalid="true"]{border-color:#EF4444}
.form-submit{margin-top:8px}
.form-submit .btn{width:100%;padding:14px;font-size:15px}
.form-error{color:#EF4444;font-size:13px;margin-top:4px}
.field-error{color:#EF4444;font-size:12px;margin-top:4px;display:block}

.modal-success{display:none}
.modal-success.active{display:block}
.modal-success-icon{font-size:48px;margin-bottom:12px}
.modal-success h3{font-family:var(--font-heading);font-size:20px;color:var(--primary);margin-bottom:8px}
.modal-success p{font-size:14px;color:var(--text-muted);line-height:1.6}

/* =============================================
   TOAST
   ============================================= */
.toast{
  position:fixed;bottom:24px;right:24px;z-index:3000;
  padding:14px 24px;
  border-radius:var(--radius-md);
  font-size:14px;font-weight:500;
  color:#fff;
  box-shadow:var(--shadow-lg);
  transform:translateY(100px);opacity:0;
  transition:all .4s ease;
  max-width:380px;
}
.toast.show{transform:translateY(0);opacity:1}
.toast.success{background:#059669}
.toast.error{background:#DC2626}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top{
  position:fixed;bottom:24px;left:24px;z-index:999;
  width:44px;height:44px;
  border-radius:50%;
  background:var(--gold);
  color:var(--primary-dark);
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-md);
  opacity:0;visibility:hidden;
  transition:all .3s ease;
}
.back-to-top.visible{opacity:1;visibility:visible}
.back-to-top:hover{transform:translateY(-3px)}
.back-to-top svg{width:20px;height:20px}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .6s ease,transform .6s ease;
}
.fade-in.visible{
  opacity:1;
  transform:translateY(0);
}

/* =============================================
   RESPONSIVE HELPERS
   ============================================= */
.hidden{display:none!important}
@media(min-width:1024px){.hide-desktop{display:none!important}}
@media(max-width:1023px){.hide-mobile{display:none!important}}

/* =============================================
   SECTION TITLE LIGHT VARIANT (on dark bg)
   ============================================= */
.section-title-light{color:#fff}

/* =============================================
   ADDITIONAL RESPONSIVE
   ============================================= */
@media(max-width:480px){
  .section{padding:50px 0}
  .section-title{font-size:26px}
  .cta-banner h2{font-size:26px}
  .navbar .container{padding:0 16px}
  .modal{padding:28px 20px}
}
