
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}

/* ============ PATTERN BACKGROUND ============ */
body{
  background-color:#1a1a2e;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0),
    radial-gradient(circle at 1px 1px, rgba(139,92,246,.04) 1px, transparent 0);
  background-size:32px 32px, 32px 32px;
  background-position:0 0, 16px 16px;
  color:#f5f5ff;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
h1,h2,h3{color:#f5f5ff;line-height:1.2}
p{color:#a8a8c8}

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

/* ============ ANIMASI ============ */
@keyframes fadeUp{
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:none}
}
@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
@keyframes blink{
  0%,49%{opacity:1}
  50%,100%{opacity:0}
}
@keyframes pulse{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.06);opacity:.85}
}
.fade-up{opacity:0;animation:fadeUp .7s cubic-bezier(.2,.8,.2,1) forwards}
.d1{animation-delay:.05s}.d2{animation-delay:.15s}.d3{animation-delay:.25s}
.d4{animation-delay:.35s}.d5{animation-delay:.45s}

/* Reveal on scroll */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s,transform .7s}
.reveal.in{opacity:1;transform:none}

/* ============ NAV ============ */
.nav{
  position:static;
  border-bottom:1px solid #3a3a5c;
  padding:16px 0;
  background:rgba(26,26,46,.5);
  backdrop-filter:blur(8px);
}
.nav-inner{display:flex;justify-content:space-between;align-items:center;gap:16px}
.brand{
  display:inline-flex;align-items:center;gap:10px;
  font-weight:800;font-size:1.05rem;letter-spacing:-.2px;
}
.brand-svg{width:28px;height:28px}
.brand .dot{color:#8b5cf6}

.btn-wa{
  display:inline-flex;align-items:center;gap:8px;
  background:#8b5cf6;color:#f5f5ff;
  padding:10px 18px;border-radius:4px;
  font-weight:700;font-size:.9rem;border:none;cursor:pointer;
  transition:transform .2s,box-shadow .2s,opacity .2s;
}
.btn-wa:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(139,92,246,.35);color:#fff}
.btn-wa svg{width:16px;height:16px}

/* ============ HERO ============ */
.hero{
  padding:100px 0 80px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
@media(max-width:640px){.hero{padding:60px 0 48px}}

.hero-svg-bg{
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:600px;height:600px;
  opacity:.06;
  pointer-events:none;
  z-index:0;
}
@media(max-width:820px){.hero-svg-bg{width:400px;height:400px}}

.hero-inner{position:relative;z-index:1}

.hero h1{
  font-size:clamp(1.9rem,5.5vw,3.2rem);
  font-weight:800;letter-spacing:-1px;
  margin-bottom:20px;
}
.hero h1 .line2{
  color:#8b5cf6;
  display:inline-block;
}
.hero h1 .typed-target{
  display:inline-block;
  min-height:1.1em;
}
.cursor{
  display:inline-block;
  width:3px;
  height:.95em;
  background:#8b5cf6;
  margin-left:4px;
  vertical-align:baseline;
  animation:blink 1s infinite;
}

.hero p{
  max-width:560px;margin:0 auto 32px;
  font-size:1.05rem;
}
.hero-meta{
  display:flex;gap:24px;flex-wrap:wrap;
  justify-content:center;margin-top:28px;
  font-size:.9rem;color:#a8a8c8;
}
.hero-meta b{color:#f5f5ff}
@media(max-width:640px){.hero-meta{gap:14px;font-size:.85rem}}

/* ============ HEAD ============ */
section{padding:64px 0}
@media(max-width:640px){section{padding:44px 0}}

.sec-head{text-align:center;margin-bottom:40px}
.sec-head h2{
  font-size:clamp(1.5rem,3.5vw,2rem);
  font-weight:800;letter-spacing:-.5px;margin-bottom:12px;
}
.sec-head h2 .hi{color:#8b5cf6}

/* ============ GRID & CARD ============ */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  align-items:stretch;
}
@media(max-width:820px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid{grid-template-columns:1fr}}

.card{
  background:rgba(37,37,71,.85);
  border:1px solid #3a3a5c;
  border-radius:4px;
  padding:22px;
  backdrop-filter:blur(4px);
  transition:transform .3s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .3s;
}
.card:hover{
  transform:translateY(-4px);
  border-color:#8b5cf6;
  box-shadow:0 12px 32px rgba(0,0,0,.25);
}
.card h3{font-size:1.05rem;font-weight:800;margin-bottom:8px}
.card p{font-size:.92rem;line-height:1.6}

/* Service */
.svc .ico{
  width:48px;height:48px;
  display:flex;align-items:center;justify-content:center;
  border-radius:4px;
  background:rgba(26,26,46,.8);
  color:#8b5cf6;
  margin-bottom:16px;
  transition:transform .3s;
}
.svc:hover .ico{transform:scale(1.08) rotate(-4deg)}
.svc .ico svg{width:26px;height:26px}

/* Team */
.team-card .no{
  font-size:.7rem;font-weight:800;letter-spacing:2px;
  color:#8b5cf6;margin-bottom:10px;
}
.team-card .avatar{
  width:44px;height:44px;border-radius:4px;
  background:rgba(26,26,46,.8);
  display:flex;align-items:center;justify-content:center;
  color:#8b5cf6;margin-bottom:14px;
}
.team-card .avatar svg{width:22px;height:22px}
.team-card h3{font-size:1.08rem;margin-bottom:4px}
.team-card .skill{font-size:.88rem;color:#a8a8c8;margin-bottom:14px}
.team-card .foot{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:12px;border-top:1px solid #3a3a5c;font-size:.78rem;
}
.team-card .foot .meta{color:#a8a8c8;font-weight:600}
.team-card .foot .role{
  color:#f5f5ff;font-weight:800;letter-spacing:1px;
  text-transform:uppercase;font-size:.68rem;
  background:rgba(26,26,46,.8);padding:4px 8px;border-radius:4px;
}

/* Testimoni */
.testi{
  display:flex;
  flex-direction:column;
  height:100%;
}
.testi p{
  font-style:italic;
  color:#f5f5ff;
  margin-bottom:14px;
  flex-grow:1;
}
.testi .who{
  display:flex;
  align-items:center;
  gap:12px;
  padding-top:14px;
  border-top:1px solid #3a3a5c;
  margin-top:auto;
}
.testi .who img{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #3a3a5c;
  background:#1a1a2e;
  flex-shrink:0;
}
.testi .who .info{display:flex;flex-direction:column;gap:1px;min-width:0}
.testi .who b{color:#f5f5ff;font-size:.94rem;font-weight:700;line-height:1.2}
.testi .who small{color:#a8a8c8;font-size:.78rem;line-height:1.2}

/* Pricing */
.plan{
  display:flex;flex-direction:column;height:100%;position:relative;
}
.plan.pop{border:2px solid #8b5cf6;box-shadow:0 0 0 4px rgba(139,92,246,.12)}
.plan.pop::before{
  content:"Paling Dipilih";
  position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  background:#8b5cf6;color:#f5f5ff;
  font-size:.68rem;font-weight:800;padding:5px 12px;
  border-radius:4px;letter-spacing:1px;white-space:nowrap;
}
.plan h3{
  font-size:.8rem;font-weight:800;letter-spacing:2px;
  text-transform:uppercase;color:#a8a8c8;margin-bottom:10px;
}
.plan .price{
  font-size:1.9rem;font-weight:800;letter-spacing:-.5px;
  line-height:1;margin-bottom:6px;color:#f5f5ff;
}
.plan .price small{font-size:.82rem;color:#a8a8c8;font-weight:500}
.plan .desc{font-size:.88rem;color:#a8a8c8;margin-bottom:18px}
.plan ul{list-style:none;margin-bottom:22px;flex-grow:1}
.plan li{
  display:flex;align-items:flex-start;gap:10px;
  font-size:.9rem;padding:8px 0;border-bottom:1px solid #3a3a5c;color:#f5f5ff;
}
.plan li:last-child{border-bottom:none}
.plan li svg{width:14px;height:14px;color:#8b5cf6;flex-shrink:0;margin-top:5px}
.plan .cta{
  display:block;text-align:center;padding:12px;
  background:#8b5cf6;color:#f5f5ff;font-weight:700;
  border-radius:4px;transition:transform .2s,opacity .2s;
}
.plan .cta:hover{transform:translateY(-2px);opacity:.9;color:#fff}

/* FAQ */
.faq-item{
  background:rgba(37,37,71,.85);
  border:1px solid #3a3a5c;
  border-radius:4px;margin-bottom:10px;overflow:hidden;
  transition:border-color .2s;
}
.faq-item[open]{border-color:#8b5cf6}
.faq-item summary{
  padding:18px 20px;font-weight:700;font-size:.98rem;
  color:#f5f5ff;cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";font-size:1.3rem;font-weight:800;
  color:#8b5cf6;flex-shrink:0;transition:transform .2s;
}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item .ans{
  padding:0 20px 18px;color:#a8a8c8;font-size:.94rem;line-height:1.7;
}

/* CTA */
.cta{
  background:rgba(37,37,71,.85);
  border:1px solid #3a3a5c;border-radius:4px;
  padding:56px 32px;text-align:center;
  position:relative;overflow:hidden;
}
.cta::before{
  content:"";position:absolute;top:-50%;right:-50%;
  width:400px;height:400px;
  background:radial-gradient(circle,rgba(139,92,246,.15),transparent 70%);
  animation:pulse 4s infinite;
  pointer-events:none;
}
@media(max-width:640px){.cta{padding:40px 22px}}
.cta > *{position:relative;z-index:1}
.cta h2{font-size:clamp(1.4rem,3.5vw,2rem);margin-bottom:14px}
.cta h2 .hi{color:#8b5cf6}
.cta p{max-width:560px;margin:0 auto 28px}
.cta .btn-wa{padding:16px 28px;font-size:1rem}
.cta .btn-wa svg{width:20px;height:20px}

/* Footer */
footer{
  border-top:1px solid #3a3a5c;
  padding:32px 0;margin-top:64px;text-align:center;
  background:rgba(26,26,46,.5);
}
footer p{font-size:.86rem;color:#a8a8c8}
footer a{color:#8b5cf6;font-weight:600}

/* Maintenance */
#maintenanceView{
  min-height:100vh;display:none;
  align-items:center;justify-content:center;
  text-align:center;padding:32px 20px;
}
#maintenanceView.on{display:flex}
#maintenanceView .inner{max-width:520px}
#maintenanceView .icon{
  width:72px;height:72px;margin:0 auto 24px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(37,37,71,.85);
  border:1px solid #3a3a5c;border-radius:4px;
  color:#8b5cf6;animation:pulse 2.4s infinite;
}
#maintenanceView .icon svg{width:36px;height:36px}
#maintenanceView h1{font-size:clamp(1.4rem,4.5vw,2rem);margin-bottom:14px}
#maintenanceView p{margin-bottom:28px;font-size:1rem}

/* ============ MAINTENANCE FORM ============ */
.maint-form{
  display:flex;gap:8px;
  max-width:320px;margin:0 auto 12px;width:100%;
}
.maint-form input{
  flex:1;padding:12px 14px;
  background:rgba(26,26,46,.8);
  border:1px solid #3a3a5c;border-radius:4px;
  color:#fff;font-family:inherit;font-size:.95rem;
  outline:none;transition:border-color .2s;
}
.maint-form input:focus{border-color:#8b5cf6}
.maint-form button{
  padding:12px 20px;background:#8b5cf6;color:#fff;
  border:none;border-radius:4px;font-weight:700;
  cursor:pointer;font-family:inherit;font-size:.95rem;
  transition:opacity .2s;
}
.maint-form button:hover{opacity:.9}
.maint-error{
  color:#8b5cf6;font-size:.85rem;
  margin-bottom:20px;min-height:1.2em;
}

/* ============ PREVIEW BANNER ============ */
.preview-banner{
  position:fixed;bottom:0;left:0;right:0;
  background:#8b5cf6;color:#fff;
  padding:10px 16px;text-align:center;
  font-size:.82rem;font-weight:700;letter-spacing:.3px;
  display:none;align-items:center;justify-content:center;gap:10px;
  z-index:9999;box-shadow:0 -4px 12px rgba(0,0,0,.2);
}
.preview-banner.on{display:flex}
.preview-banner button{
  background:rgba(255,255,255,.22);color:#fff;
  border:none;padding:5px 12px;border-radius:4px;
  font-weight:700;cursor:pointer;font-family:inherit;
  font-size:.78rem;letter-spacing:.3px;transition:background .2s;
}
.preview-banner button:hover{background:rgba(255,255,255,.35)}
body.has-preview-banner{padding-bottom:44px}


/* Testi more button */
.testi-more{
  text-align:center;
  margin-top:28px;
}



/* Grid 4 kolom untuk section harga */
.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  align-items:stretch;
}
@media(max-width:1024px){.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid-4{grid-template-columns:1fr}}


/* ============================================================
   FOOTER NAV GRID
   ============================================================ */
.foot-nav{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: 620px;
  margin: 0 auto 22px;
}
.foot-nav a{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 8px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .3px;
  color: #a8a8c8;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.foot-nav a:hover{
  background: rgba(139,92,246,.15);
  color: #8b5cf6;
  transform: translateY(-2px);
}
@media(max-width:640px){
  .foot-nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    max-width: 340px;
    margin-bottom: 18px;
  }
  .foot-nav a{
    font-size: .76rem;
    padding: 9px 14px;
  }
}


/* ============================================================
   COLLAB BADGE — New Collaboration
   ============================================================ */
.collab-wrap{
  text-align:center;
  padding:0 0 8px;
}
.collab-badge{
  display:inline-flex;
  align-items:center;
  gap:14px;
  padding:12px 22px;
  background:linear-gradient(135deg, rgba(16,185,129,.15), rgba(20,184,166,.10));
  border:1px solid rgba(16,185,129,.4);
  border-radius:999px;
  font-size:.88rem;
  font-weight:700;
  color:#fff;
  transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease;
  position:relative;
  overflow:hidden;
}
.collab-badge::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 30%, rgba(255,255,255,.15) 50%, transparent 70%);
  transform:translateX(-100%);
  transition:transform .8s ease;
}
.collab-badge:hover{
  background:linear-gradient(135deg, rgba(16,185,129,.25), rgba(20,184,166,.18));
  border-color:rgba(16,185,129,.7);
  transform:translateY(-2px);
  box-shadow:0 12px 32px rgba(16,185,129,.25);
}
.collab-badge:hover::before{transform:translateX(100%)}
.collab-badge .tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:linear-gradient(135deg, #10b981, #14b8a6);
  color:#fff;
  font-size:.65rem;
  font-weight:800;
  letter-spacing:1.5px;
  text-transform:uppercase;
  padding:4px 10px;
  border-radius:999px;
  position:relative;
}
.collab-badge .tag::before{
  content:"";
  width:6px;height:6px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 8px #fff;
  animation:pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(1.3)}
}
.collab-badge .text{
  font-size:.9rem;
  font-weight:800;
  letter-spacing:-.2px;
  color:#fff;
}
.collab-badge svg{
  width:16px;height:16px;
  color:#10b981;
  transition:transform .25s ease;
}
.collab-badge:hover svg{transform:translateX(4px)}
@media(max-width:640px){
  .collab-badge{
    flex-direction:column;
    gap:8px;
    padding:14px 20px;
    border-radius:18px;
    max-width:280px;
  }
  .collab-badge .text{font-size:.86rem}
}

