body, html { overflow: hidden; height: 100vh; margin: 0; padding: 0; background: #f0f2f5; font-family: sans-serif; }

/* Area input di atas */
.input-area {
    position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
    z-index: 10; background: rgba(255,255,255,0.9); padding: 10px 20px;
    border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex; gap: 10px;
}
.input-area input { padding: 8px 12px; border: 1px solid #ccc; border-radius: 4px; width: 300px; }
.input-area button { padding: 8px 16px; background: #d32f2f; color: white; border: none; border-radius: 4px; cursor: pointer; }

/* Container Utama Flexbox */
#responsive-wrapper {
  display: flex; flex-direction: row; align-items: flex-end;
  gap: 40px; transform-origin: center center;
  height: 100vh; width: 100vw; justify-content: center;
  padding-top: 80px; /* Supaya tidak tertutup input area */
}

/* Frame Mockup Device */
.device-container { display: flex; flex-direction: column; align-items: center; }

.device-frame {
    background: #1a1a1a; border-radius: 10px; padding: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: relative; /* DITAMBAHKAN: Agar absolute notch bekerja */
}

.device-screen { border: none; background: white; width: 100%; height: 100%; }

/* Dimensi Mockup Sesuai Device */
.desktop-frame { width: 1440px; height: 820px; border-radius: 5px; }
.laptop-frame { width: 1280px; height: 750px; border-radius: 8px; }
.tablet-frame { width: 768px; height: 1024px; border-radius: 20px; }
.mobile-frame { width: 390px; height: 844px; border-radius: 40px; }

/* Mockup Notch HP */
.mobile-frame::before {
  content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 25px; background: #1a1a1a; border-radius: 20px; z-index: 2;
}